Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


LinkBack Search this Thread
Old 11-24-2009, 02:07 AM   #16
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 185

Original Poster
Rep: Reputation: 32

f the WiKID server is returning true and the target SSH server is not validating the user, then the problem is most likely with your /etc/pam.d/sshd file. Do you have this line:

auth sufficient /lib/security/

? Post you /etc/pam.d/sshd file and I'll have a look.

Use you are right. I was not validating because I was using required instead of sufficient in line.

Now I am able to log in by using

auth sufficient /lib/security/
Old 11-25-2009, 09:03 AM   #17
LQ Newbie
Registered: Mar 2008
Posts: 17

Rep: Reputation: 0
Originally Posted by LinuxLover View Post
Use you are right. I was not validating because I was using required instead of sufficient in line.

Now I am able to log in by using

auth sufficient /lib/security/
Great! There you go! Now that you have sshd working, you can also do the same for other services, such as sudo, freenx (for remote desktop), postgresql, etc, etc, etc!

Then, think about setting up apache with mod-auth-radius/xradius ( If you can run your authentication through apache, you can add two-factor authentication to all your web-apps, CMS, Web-dav, wordpress, phpBB etc. Since most web-apps support http-auth, there's a lot of possibilities. We have a bunch of tutorials:

Between PAM and Apache, you've got a lot of applications covered. .


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl or PHP Script that can tail /var/log/auth.log - two-factor authentication tdnnash25 Linux - Server 1 06-18-2009 08:36 PM
SSH + PAM + two-factor authentication tdnnash25 Linux - Security 21 06-18-2009 04:47 PM
LXer: How to secure VNC remote access with two-factor authentication LXer Syndicated Linux News 0 05-23-2007 02:46 PM
LXer: How to secure WebDAV with SSL and Two-Factor Authentication LXer Syndicated Linux News 0 04-18-2007 09:31 AM
Two-factor authentication XsuX Linux - Security 1 11-28-2004 05:13 AM

All times are GMT -5. The time now is 02:43 PM.

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