/etc/sudoers configuration

Questions about applications and software
Forum rules
Before you post please read how to get help
ed.momot
Level 1
Level 1
Posts: 2
Joined: Fri Nov 23, 2012 3:54 pm

/etc/sudoers configuration

Postby ed.momot » 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!

User avatar
remoulder
Level 17
Level 17
Posts: 7650
Joined: Fri May 09, 2008 1:14 pm
Contact:

Re: /etc/sudoers configuration

Postby remoulder » 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.

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

Re: /etc/sudoers configuration

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

Yes, I did read through that. How is my post not following the guidelines?


Return to “Software & Applications”

Who is online

Users browsing this forum: Google [Bot] and 11 guests