Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-12-2012, 07:01 AM   #1
Registered: Jan 2012
Posts: 72

Rep: Reputation: Disabled
SUDOers not working in centos directory server

Dear Friens,

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

Then I added sudoers schema in it via following link:

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.

Attached Thumbnails
Click image for larger version

Name:	normal-user.jpg
Views:	6
Size:	121.9 KB
ID:	10103   Click image for larger version

Name:	sudorole-properties.jpg
Views:	7
Size:	232.1 KB
ID:	10104  
Old 07-13-2012, 07:02 AM   #2
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,323

Rep: Reputation: 252Reputation: 252Reputation: 252
You want use sudo local on the clients and authenticate against the central directory server are the clients configured to use LDAP for sudo?
Old 07-13-2012, 08:58 AM   #3
Registered: Jan 2012
Posts: 72

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos directory server kamran.ayub Linux - Server 5 06-28-2012 08:38 AM
CentOS Directory server - Can Windows machine be added into directory server manya Linux - Server 3 01-19-2012 04:48 PM
Fedora /etc/sudoers file and sudoers.d directory davejjj Linux - Newbie 2 10-21-2011 07:19 PM
centos 6 sudoers craigmyster Linux - General 1 09-26-2011 10:49 PM
LXer: CentOS Directory Server On CentOS 5.2 LXer Syndicated Linux News 0 08-06-2008 10:20 PM

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration