Displaying 1 result from an estimated 1 matches for "ph4dev".
2023 Apr 24
3
[Bug 3566] New: Password expiry warning is printed multiple times when UsePAM is set to yes
...Created attachment 3692
--> https://bugzilla.mindrot.org/attachment.cgi?id=3692&action=edit
Show pam messages only on failure
When UsePAM is set to yes in sshd_config and if a user password is
about to expire, it gets printed two times while doing ssh login.
Sample output:
```
root at ph4dev:~ # sshpass -p changeme ssh root at localhost
Warning: your password will expire in 2 days.
Warning: your password will expire in 2 days.
Last login: Mon Apr 24 15:47:41 2023 from 127.0.0.1
15:48:55 up 1:32, 2 users, load average: 0.00, 0.00, 0.00
root at ph4dev:~ #
```
I reproduced this with...