Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- From: Glyn Astill <glynastill@xxxxxxxxxxx>
- Date: Fri, 22 May 2009 21:45:05 +0000 (GMT)
--- On Fri, 22/5/09, Boyd Stephen Smith Jr. <bss@xxxxxxxxxxxxxxxxx> wrote:
From: Boyd Stephen Smith Jr. <bss@xxxxxxxxxxxxxxxxx>
Subject: Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
To: debian-user@xxxxxxxxxxxxxxxx
Date: Friday, 22 May, 2009, 9:20 PM
In <857394.80354.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Glyn Astill wrote:
--- On Fri, 22/5/09, Boyd Stephen Smith Jr. <bss@xxxxxxxxxxxxxxxxx>wrote:
you haveIt's not equivalent to running as root, since (a)
re-authto prefix
privileged operations with "sudo", (b) you have to
credentials willsuch actions by
entering your password and (c) your sudo
and they're in.timeout
automatically after they are not used.
Errr, yeah whatever.... Until they just do "sudo su"
ALL=(All) ALL is a bad idea.
Um, no. With 'ALL=(ALL) ALL' they would still have to
type in their
password unless they had recently given their
credentials. If you want to
you can turn off the caching of credentials, so that sudo
always asks for a
password. You can also have it ask for the target
user's password instead
of the source user's password, if you like.
'ALL=(ALL) ALL' is no more dangerous than having the 'su'
binary available.
The NOPASSWD option is not the default.
No. For su they'd have to enter the root password, for sudo su they'd just have to enter the password of the current user and they are root.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- From: Mark Shroyer
- Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- From: Boyd Stephen Smith Jr.
- Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- Prev by Date: Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- Next by Date: Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- Previous by thread: Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- Next by thread: Re: sudo vs. su (was Re: new to list, new to debian, new to linux)
- Index(es):
Relevant Pages
|