|
From: Paul C. <pcu...@op...> - 2006-07-12 19:04:06
|
From https://help.ubuntu.com/community/RootSudo "By default, the root account is locked in Ubuntu. This means you cannot login as root or use su. Instead, the installer will setup sudo to allow the user that is created during install to run all administrative commands. This means that in the terminal you can use sudo for commands that require root privileges. All programs in the menu will use a graphical sudo to prompt for a password. When sudo asks for a password, it needs YOUR USER Password; this means that a root password is not needed." I think the idea is that ubuntu is intended to be a single user desktop. Linspire goes further and lets the user be root all the time. Both of those set off a lot of flames from sysadmins but users don't complain at all. 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 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |