su or sudo su?

James Mckenzie jjmckenzie51 at earthlink.net
Mon Oct 18 16:31:39 UTC 2010


Todd Zullinger <tmz at pobox.com> wrote:
>
>James Mckenzie wrote:
>> Petrus de Calguarium <pgueckel at gmail.com> wrote:
>>>
>>>When I need root access, I used to use sudo su -.
>>
>> This is plain wrong.  The command should be sudo <command>.
>
>And su - is a command. ;)
But this is, in most cases, redundant.

>
>There's really nothing wrong with that command from a technical
>standpoint.
>
The sudo command can be configured to do other things other than su - (like running a program or shell.)  However, most admins just leave it to the default action.

>Whether someone should have access to su via sudo is another matter,
>something for the admin to configure.

True.  Best Security Practices....

James McKenzie



More information about the users mailing list