I'm fairly new to unix and I was trying to change the name of my host and my user. I changed the name in /hostname using this: gksudo gedit /etc/hostname I then tried changing the name back but it still gave the same error: {env_reset, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin User "User" may run the following commands on this host: (ALL) ALL And when I su it gives this error: Cannot execute "User": No such file or directory Any help would be appreciated
---------- Post updated at 04:16 PM ---------- Previous update was at 04:11 PM ----------
I'm fairly new to unix and I was trying to change the name of my host and my user.
I changed the name in /hostname using this:
gksudo gedit /etc/hostname
I then tried changing the name back but it still gave the same error:
{env_reset, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User "User" may run the following commands on this host:
(ALL) ALL
And when I su it gives this error:
Cannot execute "User": No such file or directory
Any help would be appreciated
(i meant it in this format sorry for double post