LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   SUDOers not working in centos directory server (https://www.linuxquestions.org/questions/linux-server-73/sudoers-not-working-in-centos-directory-server-4175416325/)

kamran.ayub 07-12-2012 06:01 AM

SUDOers not working in centos directory server
 
2 Attachment(s)
Dear Friens,

I have deployed centos directory server by following the links below:

http://wiki.unixcraft.com/display/Ma...rectory+Server

Then I added sudoers schema in it via following link:

http://wiki.unixcraft.com/display/Ma...rectory+Server

And it is showing no errors.

Now I am able to authentcate a normal posix user created at server from client.
But when I m trying to assign user an OU=SUDOers , its not geeting the sudo role to user.

And when trying to do sudo from client , it is giving error "testuser is not in the sudoers file. This incident will be reported."

Can anyone please help me out how can I remove this error and assign sudo role to user created in centos directory server from console.

Thanks in anticipation.

Regards,
Kamran

Reuti 07-13-2012 06:02 AM

You want use sudo local on the clients and authenticate against the central directory server – are the clients configured to use LDAP for sudo?

kamran.ayub 07-13-2012 07:58 AM

Yes client machines have configured to use sudoers base as my centos directory server base for authenticationg sudoers usres.

For now one of my client starts authenticating sudo user from directory server .

Now it is not adding sudo host values and I am working on it.

Means it is just taking 1 host for sudo host values, not allowing me to add multiple sudo hosts.


All times are GMT -5. The time now is 10:31 AM.