LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-24-2009, 02:07 AM   #16
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Original Poster
Rep: Reputation: 32

Quote:
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/pam_radius_auth.so

? 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 pam_radious_auth.so line.


Now I am able to log in by using

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

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


Now I am able to log in by using

auth sufficient /lib/security/pam_radius_auth.so
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 (http://www.wikidsystems.com/support/...tion-to-apache). 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: http://www.wikidsystems.com/support/...-center/how-to

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


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
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

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

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