[CentOS] Any long-time CentOS users on list using Ubuntu as well?
rodrigob at darkover.org
Mon Nov 27 23:11:05 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
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).
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the CentOS