LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 06:01 AM   #1
kamran.ayub
Member
 
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:

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 Thumbnails
Click image for larger version

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

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

Rep: Reputation: 260Reputation: 260Reputation: 260
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, 07:58 AM   #3
kamran.ayub
Member
 
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.
 
  


Reply



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 07:38 AM
CentOS Directory server - Can Windows machine be added into directory server manya Linux - Server 3 01-19-2012 03:48 PM
Fedora /etc/sudoers file and sudoers.d directory davejjj Linux - Newbie 2 10-21-2011 06:19 PM
centos 6 sudoers craigmyster Linux - General 1 09-26-2011 09:49 PM
LXer: CentOS Directory Server On CentOS 5.2 LXer Syndicated Linux News 0 08-06-2008 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:45 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
Open Source Consulting | Domain Registration