root password

Nicolai Spohrer nicolai at xeve.de
Wed Aug 22 11:21:59 UTC 2007


Shawn McCuan schrieb:
> Whats the difference between sudo -i, and just doing a "sudo su"? (This=
 is a=20
> stupid question that I'm only asking because Im not at my ubuntu box.)
See sudo manpage;
> -i  The -i (simulate initial login) option runs the shell specified in
the passwd(5) entry of the user that the command is being run as.

> The -s (shell) option runs the shell specified by the SHELL environment=
 variable if it is set or the shell as specified in passwd(5).

greetings




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070822/d4f4ed33/attachment.pgp>


More information about the ubuntu-users mailing list