If you're saying that you want users in the wheel group to be able to
execute commands via sudo without having to provide a password then the
line should be:
%wheel  ALL=(ALL)  NOPASSWD:ALL

As it is, it should always ask for a password.

On Tue, Apr 5, 2016 at 10:19 AM, Alessio Ciregia <[email protected]> wrote:

> On 05/04/2016 15:52, Jon Dison wrote:
> > What does your sudoers file look like?
> >
>
> It is the default one, but I have uncommented this line:
>
> ## Allows people in group wheel to run all commands
> %wheel  ALL=(ALL)       ALL
> 
> Obviously my user is in the wheel group. And the same configuration
> works on a non LX Centos server.
> I suspect that it is something related to /var/db/sudo directory and/or
> some system call.
> 
> Thanks.
> A
> 



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to