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 12-02-2008, 02:48 PM   #1
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Rep: Reputation: 15
Getting sudo to use LDAP


Does anyone know of a good howto for migrating sudo (and the visudo file) over to ldap on an RHEL system? I have added the schema to slapd and the basic sudoers.ldif to the ldap DB however I want to maintain the use of sudo group permissions into the ldap version of sudo and can't find any decent howtos for this.

Thanks.
 
Old 12-02-2008, 03:47 PM   #2
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
The item I found on google seems to be pretty good, I did not test it, though ... have u tried it?
 
Old 12-02-2008, 05:01 PM   #3
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by thecarpy View Post
The item I found on google seems to be pretty good, I did not test it, though ... have u tried it?

No, I didn't see this one in my results. I will give it a try and let you know, thanks for the info.
 
Old 12-04-2008, 03:37 AM   #4
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Devuan, Suse, Slackware
Posts: 130

Rep: Reputation: 21
Please provide feedback if you get it to work. I would like to do the same, however, I do not have the time right now ...
 
Old 12-08-2008, 11:41 AM   #5
ciphyre
Member
 
Registered: Aug 2008
Distribution: FEDORA, RHEL, SLES
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by thecarpy View Post
Please provide feedback if you get it to work. I would like to do the same, however, I do not have the time right now ...
So the link above is an excellent resource for setting up the LDAP DB with the sudoer information tree however I learned that sudo needs to support LDAP, something that was not available until sudo version 1.6.8. I contacted redhat support and was told that they decided not to update RHEL4 with 1.6.8, they only included it in RHEL5.

So now I a few options, upgrade sudo on RHEL4 from source; which can get pretty nasty, or look for someone that has developed an RPM for RHEL4 with the sudo 1.6.8 and compiled LDAP support.

If I find/fix this I will update.
 
  


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
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
LXer: sudo, or not sudo: that is the question LXer Syndicated Linux News 0 02-07-2008 05:40 PM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
LXer: LDAP Series Part IV - Installing OpenLDAP on Debian Plus Some LDAP Commentary LXer Syndicated Linux News 0 10-31-2006 06:54 PM

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

All times are GMT -5. The time now is 03:16 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