[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sudoers



Antispammbox-debian <antispammbox-debian@yahoo.it> wrote:
> I use some utility like TrueCrypt and gmountiso that using sudo.

> I've added myself to the group sudo:
> sudo adduser myself

That creates a new user called "myself". It does not add anyone to the
"sudo" group.


> and modified with nano visudo, the sudoers file.
> username ALL=(ALL)  NOPASSWD:    ALL

This allows someone who logs in as "username" to use sudo.


> It possible to change this?

You seem to have confused two different approaches. You don't need to be
in the sudo group and to have an explicit entry. In fact, in my copy of
the sudoers file, being in the sudo group allows someone to run commands
as any user but still requires a password.

My recommendation would be to REMOVE yourself from the sudo group and
change the sudoers file entry you added for "username" to be for the
real user account that you're using.

Chris


Reply to: