Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Eric Caron
May 21, 2004, 6:48 pm
rate this thread
I am using openSSH on linux.
I have my own script to start the daemon because a bunch of things need to
happen before the daemon is started. The sshd start script is called from my
own shell srcipt.
The daemon process starts correctly.
When I try to connect to the box I get try error message.
Connection to 18.104.22.168 closed by remote host.
Connection to 22.214.171.124 closed.
I get these logs in syslog.
Jan 1 00:09:10 10 sshd: Accepted keyboard-interactive/pam for mtc from
126.96.36.199 port 38542 ssh2
Jan 1 00:09:10 10 sshd(pam_unix): session opened for user mtc by
Jan 1 00:09:10 10 sshd: fatal: PAM: pam_setcred(): Permission denied
Jan 1 00:09:10 10 sshd(pam_unix): session closed for user mtc
It seems sshd is trying to write user credential but it doesn't have the
permission. Something interesting. I get the same error if I try to
connect with the root account.
Any help would be appreciated.
Re: sshd pam_setcred problem
Which OpenSSH version? Which Linux distribution and version? Which
PAM modules do you have in the sshd stack?
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » Unable to ssh into the Solaris 8 box once user password Expires.
- — Next thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum