LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Entry in /etc/sudoers file for group (https://www.linuxquestions.org/questions/linux-newbie-8/entry-in-etc-sudoers-file-for-group-4175545807/)

anandg111 06-19-2015 03:42 AM

Entry in /etc/sudoers file for group
 
Can i make an entry in /etc/sudoers file for the group?
I want to grant access to few commands to entire group.

chrism01 06-19-2015 04:40 AM

Have you looked at it; here's a quote from within the file
Quote:

## Examples are provided at the bottom of the file for collections
## of related commands, which can then be delegated out to particular
## users or groups.
;)

HMW 06-19-2015 04:43 AM

This is a pretty decent guide:
http://mixeduperic.com/ubuntu/how-to...on-ubuntu.html

Although instead of granting
Code:

ALL=(ALL) ALL
You may specify whihc commands the group may run, like
Code:

/bin/mount
Or whatever you want the group to be able to run.


All times are GMT -5. The time now is 02:28 PM.