Re: /etc/sudoers configuration
Originally Posted by
Ed54_3
I'm attempting to set up sudo to do two things: Allow all network admins root access, and allow anyone on the system to mount and unmount network shares. The closest I've gotten to this working is here:
Code:
#Allow all users to mount filesystems
ALL ALL=NOPASSWD: /bin/mount, /sbin/mount.cifs, /bin/umount
#Allow all admins sudo access
%DOMAIN\\admin_group ALL=(ALL) ALL
The problem with this is that the previously listed line works, while the second doesn't. This happens when I switch their order as well. I need both parts working for linux to be usable in my workplace.
by the side - in my opinion is
ALL ALL=NOPASSWD: /bin/mount, /sbin/mount.cifs, /bin/umount
audacious - precarious - hazardous
"What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht
Bookmarks