|
From: Jamie C. <jca...@we...> - 2006-07-12 21:17:21
|
On 12/Jul/2006 11:56 Albert Charron wrote .. > Mike Hagedon - Physiology Technical Support wrote: > > On Wednesday 12 July 2006 11:39, Jamie Cameron wrote: > >> On 12/Jul/2006 11:32 Albert Charron wrote .. > >> > >>> Mike Hagedon - Physiology Technical Support wrote: > >>>> On Wednesday 12 July 2006 10:29, Jamie Cameron wrote: > >>>>> Thanks for the info .. > >>>>> Does Ubuntu allow you to sudo to root without needing to > >>>>> re-enter your password? > >>>>> > >>>>> - Jamie > >>>> Jamie, > >>>> No, you must type your password the first time you sudo. You don't > have > >>> to > >>> > >>>> type it again unless you don't use sudo for some defined period of > time > >>> (not > >>> > >>>> sure where that's set). > >>>> > >>>> Mike > >>> That's what I though Jamie was asking... Too bad English isn't my main > >>> language ;) > >> Yes, thanks :) > >> I was also wondering if Ubuntu allows ANY user to sudo to root, or just > >> some limited set of users (like the initial non-root account). > >> > >> - Jamie > > > > According to these lines, I assume only members of the admin group can > sudo. > > > > # Members of the admin group may gain root privileges > > %admin ALL=(ALL) ALL > > > > My initial account (mike) was automatically in the admin group. I just > created > > another account on my test server (Ubuntu 6.06 server) called miketest. > That > > account was not added to the admin group and sudoing either got nothing > > or "miketest is not in the sudoers file. This incident will be reported." > > So I guess only the initial users can sudo unless you add others to the > admin > > group. > > > > Hope that helps, > > Mike > > Same thing here... and yes, if you manually add a user to the admin > group, this user will be allowed to have root privileges with sudo (just > tested)... Thanks for the info .. I am working on adding support for systems like this to Webmin. Do you know of any other distros that are set up to only allow root access via sudo by default? - Jamie |