Password change on first login via ssh
Allen van der Ross
allen at ct.spi.co.za
Wed Aug 31 08:19:11 UTC 2005
Boyd Kelly wrote:
> Hello,
>
> I am having a problem getting RH 3.0 to prompt user to change password
> on first login with ssh. This works more or less ok on RH 2.1,
> perfectly on Gentoo 2.6 kernel, but not at all on RH 3.0.
>
> I do the following:
>
> Useradd newuser
> Usermod -p "" newuser
> Chage -d 0 newuser
>
Just a thought, but is the SSHD configured to accept/allow
empty passwords? Try setting:
PermitEmptyPasswords yes
in /etc/ssh/sshd_config.
Cheers,
Allen.
More information about the Pam-list
mailing list