LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-12-2012, 07:01 AM   #1
kamran.ayub
Member
 
Registered: Jan 2012
Posts: 66

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


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
Attached Images
File Type: jpg normal-user.jpg (121.9 KB, 5 views)
File Type: jpg sudorole-properties.jpg (232.1 KB, 5 views)
 
Old 07-13-2012, 07:02 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,320

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
kamran.ayub
Member
 
Registered: Jan 2012
Posts: 66

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.
 
  


Reply


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 02:31 PM.

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