Earlier today I got the urge to change root's login name on one of my old Ubuntu boxes. I did "sudo usermod -l stan root", to change root's name to 'stan' (you know, it's more personal that way) But then when I try to 'sudo' anything (in a DIFFERENT shell...of course I leave my root shell open and keep a backup of the important files when I do stuff like this!), sudo complains that there's no entry for root in the passwd file. Is there a way to change sudo to look for stan's entry instead of root?
Perhaps my question could be widened: Is there a way to change root's name and not have it affect my system very much?
Bookmarks