default root pwd for base system install?
Bob Nielsen
nielsen at oz.net
Tue Jan 10 04:04:01 UTC 2006
On Jan 9, 2006, at 7:39 PM, 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'?
>
They both will work. 'sudo -i' will change to root's home directory,
while 'sudo -s' will remain in the original directory.
More information about the ubuntu-users
mailing list