LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-25-2018, 10:04 AM   #1
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
Solaris pam_radius


I was trying to configure two factor auth for ssh using pam_radius on my Solaris.
Quote:
SunOS solaris 5.11 11.3 i86pc i386 i86pc
I keep getting an error "Invalid Argument" as shown below
Quote:
[ID 801593 auth.debug] pam_radius_auth: Sending RADIUS request code 1
[ID 801593 auth.debug] pam_radius_auth: DEBUG: get_ipaddr(127.0.0.1) returned 0.
[ID 801593 auth.error] pam_radius_auth: Error sending RADIUS packet to server 127.0.0.1:1812: Invalid argument
The following is the way I am deploying pam_radius currently.
Quote:
pkg install gcc-48
pkg install git
git clone https://github.com/FreeRADIUS/pam_radius.git
cd pam_radius
./configure
export CC=gcc
gmake

cp pam_radius_auth.so /usr/lib/security/

mkdir /etc/raddb/
echo "127.0.0.1:1812 secret 1" > /etc/raddb/server

cat > /etc/pam.d/sshd-kbdint <<EOF
auth requisite pam_authtok_get.so.1
auth required pam_dhkeys.so.1
auth required pam_radius_auth.so debug use_first_pass
auth required pam_unix_auth.so.1
EOF
Any ideas on what I can do here?
 
Old 04-25-2018, 10:18 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Original Poster
Rep: Reputation: 49
Looks like this an issue with the software.
https://github.com/FreeRADIUS/pam_radius/issues/35
 
  


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
Other encryption methods for pam_radius wildchief Linux - Security 0 09-25-2009 10:45 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration