LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-26-2011, 09:35 PM   #1
craigmyster
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Rep: Reputation: 0
centos 6 sudoers


Hi. I am currently going from CentOS 5.X to CentOS 6.0. Before I had configured my 5.X client machines with the following

/etc/ldap.conf
-added uri
-configured to use tls
-added base
-added bindn
-added sudoers_base ou=sudoers,dc=mydomain,dc=com

/etc/nsswitch.conf
-changed shadow/passwd/groups and added sudoers

Now Centos 6 ldap configurations are in nslcd.conf in /etc/. I added the configuration in there for ldap and was able to authenticate using ldap now. However, when I put in the suders_base it says it is an unknown directive when I try to start ldap. I tried putting --disable-configfile-checking in the rc script but it nslcd does not like that directive either.

My question is in CentOS 6 how do I instruct ldap to go to a specific ou on the ldap server when sudo consults it for a sudo operation. I used to just do it in /etc/ldap.conf but that is not working anymore.
 
Old 09-26-2011, 09:49 PM   #2
craigmyster
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Ok. Fixed now. I just needed to put that into ldap.conf because sudo was still looking at that file.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudoers Juc1 Linux - Newbie 17 09-19-2011 02:42 PM
sudoers madwac Linux - Newbie 1 03-10-2007 06:54 PM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 05:03 PM
Regarding SUDOERS hinetvenkat Linux - Networking 1 09-02-2005 01:47 PM
sudoers usa1234 Linux - General 1 10-24-2004 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:19 AM.

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