su or sudo su?

Tsvetomir Totev cybershade at gmail.com
Tue Oct 19 12:28:54 UTC 2010


Hmm, I think

$ sudo -i

and your account password will give you root access on Ubuntu. On Debian
sudo is not allowed by default.

$ sudo su -

is stupid.

On Tue, Oct 19, 2010 at 3:22 PM, Craig White <craigwhite at azapple.com> wrote:

> On Mon, 2010-10-18 at 10:05 -0600, Petrus de Calguarium wrote:
> > When I need root access, I used to use sudo su -. Recently, I discovered
> I
> > could simply type su -.
> >
> > What's the difference:
> >
> > su -
> > sudo su -
> >
> ----
> I can't imagine why any UNIX/Linux system would allow a 'sudo su'
> command.
>
> su -
>
> is just a whole lot less typing
>
> sudo su -
>
> can be a security nightmare
>
> however on Debian/Ubuntu systems where there is generally no 'superuser'
> login allowed, you would have to 'sudo su -' to obtain a continuous
> superuser shell.
>
> Craig
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
Tsvetomir Totev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20101019/b65ff039/attachment.html 


More information about the users mailing list