Operating System - HP-UX
1754314 Members
2644 Online
108813 Solutions
New Discussion юеВ

Getting a PAM error when trying to use SSH

 
Shawn Jones_4
Occasional Advisor

Getting a PAM error when trying to use SSH

I am getting the following error when atempting to use a public key to authenticate through ssh.

"PAM rejected by account configuration[13]: No account present for user"

I am trying to setup a no password login in. The environment is DCE authenticated and the home directories are NFS'd. If I use regular password authentication through ssh I can login just fine. It is only when I try to use the public key, that I get this error. Any help would be greatly appreciated.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Getting a PAM error when trying to use SSH

Hi Shawn,

It says the account does not exist on the target server.

A common issue is the numeric user id is not the same on both systems.

Say account schmobagel on HP1 is id 125 and 126 on HP2. That can confuses systesms.

Attaching my password free doc, which is actually someone elses doc.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Shawn Jones_4
Occasional Advisor

Re: Getting a PAM error when trying to use SSH

Steven,

Thanks for the reply. Do you have an example of the ssh_conf and sshd_conf for this setup?
Shawn Jones_4
Occasional Advisor

Re: Getting a PAM error when trying to use SSH

I found the problem. I upgraded to 3.7 and move in the new config file and disable the use of pam authentication by ssh. But now my .rhosts file not allow me to specify any user from a workstation.

I want it to look like this:

+

but it will only work with this:



Anyone have any suggestions?