/etc/sudoers configuration

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ed.momot

/etc/sudoers configuration

Post by ed.momot »

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!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

Re: /etc/sudoers configuration

Post by remoulder »

[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

Re: /etc/sudoers configuration

Post by ed.momot »

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

Return to “Software & Applications”