[Novalug] Ubuntu vs Fedora

Gregory Bledsoe gbledsoe@pilot.aptela.com
Thu Jul 16 10:53:29 EDT 2009


Hoo-kay.  Been out on vakay and just got back...

It is true sudo -i produces a couple less processes.  I've never
encountered a situation where it mattered.  And I don't see how this
makes it any more likely to take low memory.  Any speed difference
will be negligible to the point of unmeasurability.

The original question was how to become and stay root.  Either works.
If you prefer sudo -i, more power to you.  sudo su - root works fine
as well with no drawbacks I've ever encountered in my uncountable
years as a sysadmin, and is your only choice on some unices...

Thanks

Greg

If you prefer sudo -i, more power to you.  sudo su - root works fine as well.

On Sun, Jul 5, 2009 at 1:43 AM, Don E. Groves, Jr.<dgrovesjr@gmail.com> wrote:
>
>
> On Fri, Jul 3, 2009 at 7:11 PM, Gregory Bledsoe <gbledsoe@pilot.aptela.com>
> wrote:
>>
>> sudo su - root?
>
> NO that gives the tree"
>      bash              # as your user
>          su - root     # "su" ran by sudo
>              -su         #  "su" as a SHELL user id root.
>                            #    acting like "bash"
>
> Where "sudo -i" gives the following tree:
>     bash                 # as your user
>        -bash             #  as the "root" user (started by sudo)
>
> This minor difference can have a Speed and/or functionality difference.
>
> The second version will also more likely function in LOWER memory and/or
> LOWER number of avable file handles conditions.
>
> --
> --
> Don E. Groves, Jr.
>
> Tag it's your turn now... ... ....
>



-- 
Greg

Doubt everything unless you can verify it with reason and experiment.
- Steve Albini



More information about the Novalug mailing list