Need help with a weird sudo error.

view full story

http://www.unix.com – 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 wa (HowTos)