Chris Davies wrote:
> Magnus Therning <magnus@therning.org> wrote:
>> I've been trying to find out what the difference is between the
>> following three
>
>> % sudo su -
>
> Use your password to authenticate to sudo, then use su to change to the
> root user with root's environment as if it were a login session
>
>> % sudo -i
>
> Use your password to authenticate to sudo, then change to the root user
> with root's environment as if it were a login session
>
>> % sudo -s
>
> Use your password to authenticate to sudo, then fire up a shell. Do not
> instantiate root's environment. Do not start a new login session
Thanks!
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus
Haskell is an even 'redder' pill than Lisp or Scheme.
-- PaulPotts
Attachment:
signature.asc
Description: OpenPGP digital signature