Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
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.


  Search this Thread
Old 04-25-2018, 10:04 AM   #1
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.
SunOS solaris 5.11 11.3 i86pc i386 i86pc
I keep getting an error "Invalid Argument" as shown below
[ID 801593 auth.debug] pam_radius_auth: Sending RADIUS request code 1
[ID 801593 auth.debug] pam_radius_auth: DEBUG: get_ipaddr( returned 0.
[ID 801593 auth.error] pam_radius_auth: Error sending RADIUS packet to server Invalid argument
The following is the way I am deploying pam_radius currently.
pkg install gcc-48
pkg install git
git clone
cd pam_radius
export CC=gcc

cp /usr/lib/security/

mkdir /etc/raddb/
echo " secret 1" > /etc/raddb/server

cat > /etc/pam.d/sshd-kbdint <<EOF
auth requisite
auth required
auth required debug use_first_pass
auth required
Any ideas on what I can do here?
Old 04-25-2018, 10:18 AM   #2
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.


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 > Forums > Other *NIX Forums > Solaris / OpenSolaris

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