LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-26-2013, 04:23 PM   #1
cdaniels79
LQ Newbie
 
Registered: Oct 2013
Posts: 12

Rep: Reputation: Disabled
FreeRadius and PAM


I was wondering if I understand this correctly. I want to run a FreeRadius Server for Enterprise WPA2 for my wireless. I want the FreeRadius to use PAM and user accounts on the linux box that is running the FreeRadius Server.

Okay in the FreeRadius User config file I need to put something like

DEFAULT Auth-Type := Pam, Pam-Auth == "radius-wireless",

Then under the /etc/pam.d/ directory a file named "radius-wirless" which contains the following

auth required pam_listfile.so onerr=fail item=group sense=allow file=/etc/wireless.allowed
auth required pam_unix.so shadow
auth required pam_nologin.so
account required pam_unix.so
session required pam_unix.so

Do I understand this correctly or am I missing something here?
 
Old 10-27-2013, 08:14 PM   #2
cdaniels79
LQ Newbie
 
Registered: Oct 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Yep it worked like that, but a not for ya'll Chrooting, Non Root User and Group, and PAM all put together = Headache.
 
  


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
Perl module Authen::PAM needed for PAM is not installed keymoo Linux - Server 4 01-19-2013 01:12 PM
PAM module:passwd:- how many character validate by pam library amit_pansuria Linux - General 3 10-21-2008 01:19 AM
setup pam + freeradius zsomech Linux - Server 1 12-19-2006 05:32 PM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM

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

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