SD-WAN

 View Only
last person joined: 6 days ago 

Ask questions and share experiences with SD-WAN and Session Smart Router (formerly 128T).

"My Name is Root and I Can't Change My Hostname" 

06-13-2019 15:29

Possible Symptoms:

  • I am root
  • I cannot change my hostname (via 'hostnamectl' or 'nmtui'). This could also could be any file.
  • 'ls -l' says the file is writeable.
Typical Reactions:
  • "What do mean I'm root I can do anything"
  • Staring at the terminal window with a confused look
  • General frustration 
Solution:
  • You may have just hit an immutable file permission
  • Run 'lsattr [filename]'
    • Ex. 'lsattr /etc/hostname'
  • If you see an 'i' in the permissions
  • Run 'chattr -i [filename]'
  • You should now be able to change the hostname however you would normally

#hostname
#root
#linux

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.