default root pwd for base system install?

William Grant tanarrifujitsu at optusnet.com.au
Tue Jan 10 10:09:40 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ronny Haryanto wrote:

> On Tuesday 10 January 2006 13:08, William Grant wrote:
>
>> Adam Goodbar wrote:
>>
>>> If you need a root shell, but dont want to login as root, you
>>> can use 'sudo bash' or 'sudo su' to start a shell with root
>>> privilages, even though you are logged in as your normal user.
>>
>> sudo -i would do the same thing, and is the proper way.
>
>
> Hm, I thought it was 'sudo -s'?
>
> Ronny

sudo -s will give a shell with root privileges, but not a root shell.
It doesn't reset the environment variables, meaning that you are still
you, but with root privileges. sudo -i will give you a proper root
shell, like sudo bash or sudo su.

William.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDw4fkGr2rfWFeutsRAv+PAJ4p/8lQE5swfvwfIFWgl57tds88dgCeJLtU
i/XW8+Kacbg0ST14gdp6KvY=
=3lfg
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list