Problems with Sudo Config
Hi, I tryed to work with sudo for Quite a while now.
I thought I understood how it worked.
But I just figured out I was wrong..
Anywho, I cant make that part with the % groups work..
So my sudoers file is this:
I tryed to make a new group and then run adduser with the -g ### parameter.
Host_Alias LOCAL = 127.0.0.1
Cmnd_Alias SCRIPT = /bin/mount, /usr/sbin/chroot
Cmnd_Alias NOT = /bin/halt
#Now a part I dont even get.. :S
Defaults env_keep = "(lots of env Variables here)"
#At this point I start understanding it again.
root ALL=(ALL) ALL
%users LOCAL = NOPASSWD: SCRIPT
%users LOCAL = !NOT
That didnt work.
So, well the group users is everybody right?
Well, I make users now with adduser -m $NEWUSERNAME
Why doesnt it work?
Why cant I use the sudo command with every new user?
Well, thanks alot.