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

Re: password expire and sshd doesn't allow ppl to change it




 Il giorno Sat, Sep 22 in un momento di profonda ispirazione
 Einar Karttunen scrisse riguardo a " Re: password expire and sshd doesn't allow ppl to change it ":


> How do the pam configuration files for sshd and telnetd 
> (in /etc/pam.d/) look like? Are they identical, or has
> one stuff the other doesn't?

This is what I have in my /etc/pam.d files:

passwd:

 password required       pam_cracklib.so retry=3 minlen=6 difok=3
 password required       pam_unix.so use_authtok md5


login:

auth       requisite  pam_securetty.so
auth       required   pam_nologin.so
auth       required   pam_env.so
auth       required   pam_unix.so
account    required   pam_unix.so
session    required   pam_unix.so
session    required   pam_limits.so
session    optional   pam_lastlog.so
session    optional   pam_motd.so
session    optional   pam_mail.so standard 
 password required       pam_cracklib.so retry=3 minlen=6 difok=3
 password required       pam_unix.so use_authtok md5

ssh:

auth       required     pam_nologin.so
auth       required     pam_unix.so
auth       required     pam_env.so # [1]
account    required     pam_unix.so
session    required     pam_unix.so
session    optional     pam_lastlog.so # [1]
session    optional     pam_motd.so # [1]
session    optional     pam_mail.so standard # [1]
session    required     pam_limits.so
password required       pam_cracklib.so retry=3 minlen=6 difok=3
password required       pam_unix.so use_authtok md5


Thank you for your help.

-- 
Luca Gibelli (l.gibelli@oltrelinux.com || luca@azzurranet.org)
PGP Fingerprint: EC7C D6D2 D754 89F8 BDE8  8924 6341 3B07 C2F3 9102
PGP Key Available on: Key Servers || http://gibelli.oltrelinux.com/gibelli.asc

BOFH excuse 321:
 it has Intel Inside

Attachment: pgpCKNNJOXNzc.pgp
Description: PGP signature


Reply to: