View Single Post
Posts: 34 | Thanked: 0 times | Joined on Aug 2007 @ Belgium
#7
Alternatively, install the openssh daemon, which will set a password on the root user for you. Then ssh root@localhost in an xterm, and you can add a line like this to /etc/sudoers with vi:
user ALL=(ALL) NOPASSWD: ALL

Save, and exit the ssh logon. Then, you can get root with sudo -s, and you will not be asked for a password.