/etc/sudoers configuration

Questions about applications and software
Forum rules
Before you post please read how to get help

/etc/sudoers configuration

Postby ed.momot on Fri Nov 23, 2012 4:03 pm

I'm attempting to set up a system that uses LDAP for sudo authorization. The relevant /etc/sudoers section currently looks like this:

Code: Select all
#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


Only the last item works, both in this order and when I switch the order. I am unfamiliar with how sudo parses this config file, and not sure where the conflict could be. If there is a better way to approach this, I'd love to hear that too.

Thanks!
ed.momot
Level 1
Level 1
 
Posts: 2
Joined: Fri Nov 23, 2012 3:54 pm

Linux Mint is funded by ads and donations.
 

Re: /etc/sudoers configuration

Postby remoulder on Fri Nov 23, 2012 6:34 pm

[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7667
Joined: Fri May 09, 2008 1:14 pm

Re: /etc/sudoers configuration

Postby ed.momot on Tue Nov 27, 2012 4:04 pm

Yes, I did read through that. How is my post not following the guidelines?
ed.momot
Level 1
Level 1
 
Posts: 2
Joined: Fri Nov 23, 2012 3:54 pm


Return to Software & Applications

Who is online

Users browsing this forum: Google Adsense [Bot], jia_wei and 21 guests