Re: need help with ldap and sshd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux