So, what do we need to add to http://directory.fedora.redhat.com/wiki/Howto:PAM to incorporate this information?

Aaron Bliss wrote:

Thanks for getting back to me; what should a properly formatted
/etc/pam.d/sshd file for rhel4 or rhel3 look like?

Aaron
You might try using authconfig to get a working set of pam files, and then
tweak from there. On my rhel4 machine, /etc/pam.d/sshd and many other
services just uses pam_stack to inherit the config from
/etc/pam.d/system-auth.

/etc/pam.d/sshd:
auth       required     pam_stack.so service=system-auth
auth       required     pam_nologin.so
account    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth
session    required     pam_loginuid.so

It sould like you have a working /etc/pam.d/login, so use that as a guide
for editing your system-auth. Also make sure you have "UsePAM yes" in your
sshd_config.

--
John Vestrum

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users


I was missing UsePAM yes; all is working now

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Reply via email to