-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, Nov 27, 2006 at 09:07:33PM +0000, first last wrote:
Another quirk is that ubuntu normally doesn't let you log in as root, but the first user added is permitted to 'sudo' any command. If you like running as root, you can: sudo su -
sudo -s does the same
Actually, no it doesn't.
"sudo -s" works like "sudo su", which is different than "sudo su -" (notice the -).
The "-" will make the shell a login shell, thus setting everything you need (including the $PATH variable).
[]s
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)