LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-20-2013, 02:50 PM   #1
grahamb314
LQ Newbie
 
Registered: Apr 2011
Posts: 16

Rep: Reputation: Disabled
LDAP Password + Key Authentication


I currently have LDAP setup to authenticate users, so users are not stored on the servers per say.

I want to be able to permit SSH Key authentication for those user accounts too. (Key used to login to the server and the LDAP password for sudo)

I have found ways to centralise key authentication, but only for user accounts that reside and were setup on the servers locally.

Is there a way to allow authentication for an LDAP provisioned user by Keys?

I dont mind if the keys are not centrally managed at this time, but that would be useful..

Many thanks
 
Old 12-20-2013, 04:54 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
A couple things come to mind

1) You can actually store the keys on the LDAP server and have it centrally manage them.

2) Set up NFS home directories. That way the keys are the same no matter what server they've log into.

I've done #2 and it's been working out well so far.

--C
 
  


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
Changing password in sasl authentication with ldap backend vahab Linux - Server 1 07-28-2012 04:50 PM
Using LDAP authentication in Apache, but not getting a password prompt slimjim Linux - Server 7 03-21-2012 05:21 AM
RHEL, and LDAP authentication, username yes, password no? thllgo Linux - Server 1 01-10-2011 03:38 PM
Public key authentication with ssh -- With out Password balakrishnay Linux - General 10 01-03-2010 10:41 PM
PAM LDAP authentication password policy questions codeape Linux - Security 0 08-26-2008 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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