sudo like in Ubuntu (for Debian and other Linuxes)

Posted by chris_l on Server Fault See other posts from Server Fault or by chris_l
Published on 2010-03-11T16:29:46Z Indexed on 2010/03/11 17:20 UTC
Read the original article Hit count: 145

Filed under:
|
|
|

Hi,

I personally like the default sudo behavior of Ubuntu: - Root login impossible - "admin" group granted "ALL=(ALL) ALL" - users in the "admin" group are asked for their user password (not a root password) when using sudo.

[I like it, because this way, there's no root password to be shared among several people. There may be good reasons for other opinions, too - but that shouldn't be the topic of this question.]

Now I'm trying to re-create this behavior in Debian Etch. It basically works, but there's one important difference: Debian doesn't ask for a password. It should ask for the user's password.

I edited the sudoers file to be exactly the same as in Ubuntu, and I added a user to the newly created "admin" group. What else do I have to do to get the Ubuntu behavior in Debian (and other Linuxes)?

Thanks Chris

© Server Fault or respective owner

Related posts about sudo

Related posts about ubuntu