Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authentication of SSH user in AIX

Status
Not open for further replies.

mack3

Programmer
Feb 16, 2005
1
US
I need to write an application on AIX 5.2 which would be driven after system authentication of the ssh user; the application would send additional prompts over the ssh connection to the end user. Based on the responses to these prompts, the user would be accepted or rejected. We currently use an AIX LAM imterface to do this for telnet clients. I am trying to add the same support for ssh clients. Would PAM allow this? Thanks, Meredith
 
This might not be what you want, but why not add the extra prompting in the .profile of the user. In this way based on their responses you could still exit them from the server if the responses are incorrect or allow login if correct.
 
OK,

Not sure if this answers your question, but will help... here is a pam.conf that will make SSH work with PAM. Required for using SSH with LDAP for example...

OTHER auth required /usr/lib/security/pam_aix
OTHER account required /usr/lib/security/pam_aix
OTHER session required /usr/lib/security/pam_aix
OTHER password required /usr/lib/security/pam_aix

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top