Answer the question
In order to leave comments, you need to log in
How to give domain users permission to sudo?
There is a domain (Windows Server 2012), there is a PC with Centos 6.6. The PC is added to the domain, the domain user on this PC. How to allow domain users (group - linuxadmin) to use sudo ?
I did so. I logged in as a domain user, wrote "id" in the terminal, found my group and its identifier -
groups = ....,16777229(KVDRO\linuxadmin)
Then in /etc/sudoers I write this:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
%KVDRO\\linuxadmin ALL = (ALL:ALL) ALL : ALL
After that when I write : sudo something_there
AND I get : sudo: >>> /etc/sudoers: syntax error near line 99 <<< - this is the number of my added
sudo line: parse error in /etc/sudoers near line 99
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy module
How to right ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question