LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-23-2007, 08:57 AM   #1
interpol
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
Lightbulb Radius PAM.D Module


Hello all,

I try to configure my Mandriva Server to authenticate all users ( exepted Root ), to contacte my radius server, for radius authentification.

I've insert in /etc/pam.d/system-auth file, the module ( after unix ) :
auth required pam_radius.so
...
password required pam_radius.so.

I have already error in /var/log/auth "unable to ldopen module /lib/security/pam_radius.so"

Can any one, help me to configure correctly my server in this opération ?

Thanks
 
Old 02-24-2007, 04:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'm not familiar with that error to be honest, does the module file actually exist though? what rights does it have compared to other pam modules? could easily be a reinterpretation of a standard file not found or permission denied message.
 
Old 02-26-2007, 04:12 AM   #3
interpol
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Acid,

Thanks you for your reply. This module exit on Mandriva Server in /lib/security folder. If i put the exact folder in system-auth, i'va the same error.

Perhaps i forget something in my configuration.
 
Old 02-26-2007, 04:16 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well sticking my intial guess, can you show us the output of "ls -l /lib/security" ?
 
Old 02-27-2007, 03:15 AM   #5
interpol
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Chris,
Sorry.

lrwxrwxrwx 1 root root 11 oct 27 2003 pam_unix_session.so -> pam_unix.so*
lrwxrwxrwx 1 root root 11 oct 27 2003 pam_unix_passwd.so -> pam_unix.so*
lrwxrwxrwx 1 root root 11 oct 27 2003 pam_unix_auth.so -> pam_unix.so*
lrwxrwxrwx 1 root root 11 oct 27 2003 pam_unix_acct.so -> pam_unix.so*
-rwxr-xr-x 1 root root 14516 sep 19 2005 pam_xauth.so*
-rwxr-xr-x 1 root root 8840 sep 19 2005 pam_wheel.so*
-rwxr-xr-x 1 root root 4116 sep 19 2005 pam_warn.so*
-rwxr-xr-x 1 root root 8088 sep 19 2005 pam_userdb.so*
-rwxr-xr-x 1 root root 48316 sep 19 2005 pam_unix.so*
-rwxr-xr-x 1 root root 16384 sep 19 2005 pam_timestamp.so*
-rwxr-xr-x 1 root root 8932 sep 19 2005 pam_time.so*
-rwxr-xr-x 1 root root 13984 sep 19 2005 pam_tally.so*
-rwxr-xr-x 1 root root 14048 sep 19 2005 pam_succeed_if.so*
-rwxr-xr-x 1 root root 10156 sep 19 2005 pam_stress.so*
-rwxr-xr-x 1 root root 10408 sep 19 2005 pam_stack.so*
-rwxr-xr-x 1 root root 5672 sep 19 2005 pam_shells.so*
-rwxr-xr-x 1 root root 11804 sep 19 2005 pam_selinux.so*
-rwxr-xr-x 1 root root 6792 sep 19 2005 pam_securetty.so*
-rwxr-xr-x 1 root root 4580 sep 19 2005 pam_rps.so*
-rwxr-xr-x 1 root root 3972 sep 19 2005 pam_rootok.so*
-rwxr-xr-x 1 root root 11408 sep 19 2005 pam_rhosts_auth.so*
-rwxr-xr-x 1 root root 4420 sep 19 2005 pam_radius.so*
-rwxr-xr-x 1 root root 30844 sep 19 2005 pam_pwdb.so*
-rwxr-xr-x 1 root root 4892 sep 19 2005 pam_postgresok.so*
-rwxr-xr-x 1 root root 3220 sep 19 2005 pam_permit.so*
-rwxr-xr-x 1 root root 6048 sep 19 2005 pam_nologin.so*
-rwxr-xr-x 1 root root 4288 sep 19 2005 pam_motd.so*
-rwxr-xr-x 1 root root 17444 sep 19 2005 pam_mkhomedir.so*
-rwxr-xr-x 1 root root 9632 sep 19 2005 pam_mail.so*
-rwxr-xr-x 1 root root 8884 sep 19 2005 pam_localuser.so*
-rwxr-xr-x 1 root root 12596 sep 19 2005 pam_listfile.so*
-rwxr-xr-x 1 root root 15332 sep 19 2005 pam_limits.so*
-rwxr-xr-x 1 root root 8960 sep 19 2005 pam_lastlog.so*
-rwxr-xr-x 1 root root 6904 sep 19 2005 pam_issue.so*
-rwxr-xr-x 1 root root 11412 sep 19 2005 pam_group.so*
-rwxr-xr-x 1 root root 5500 sep 19 2005 pam_ftp.so*
-rwxr-xr-x 1 root root 10800 sep 19 2005 pam_filter.so*
-rwxr-xr-x 1 root root 11316 sep 19 2005 pam_env.so*
-rwxr-xr-x 1 root root 2884 sep 19 2005 pam_deny.so*
-rwxr-xr-x 1 root root 5188 sep 19 2005 pam_debug.so*
-rwxr-xr-x 1 root root 12140 sep 19 2005 pam_cracklib.so*
-rwxr-xr-x 1 root root 47108 sep 19 2005 pam_console.so*
-rwxr-xr-x 1 root root 86552 sep 19 2005 pam_console_apply_devfsd.so*
-rwxr-xr-x 1 root root 6080 sep 19 2005 pam_chroot.so*
-rwxr-xr-x 1 root root 12768 sep 19 2005 pam_access.so*
lrwxrwxrwx 1 root root 13 fév 26 12:30 pam_radius_auth.so -> pam_radius.so*
lrwxrwxrwx 1 root root 13 fév 26 12:30 pam_radius_acct.so -> pam_radius.so*

King Regard
 
Old 02-27-2007, 03:29 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well to be honest i'm all out of ideas...
 
  


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
pam radius authentication danieldinu Linux - Security 2 07-17-2009 01:56 PM
PAM Radius Module interpol Linux - Networking 1 02-23-2007 09:37 AM
PAM Radius Module interpol Linux - Security 1 02-23-2007 09:29 AM
pam radius auth in slackware ?? Barx Slackware 1 04-30-2005 08:06 AM
PHP & Radius/PAM authentication etron Programming 1 10-16-2003 03:38 AM

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

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