On Mon, Dec 11, 2017 at 08:45:25AM -0000, Иван Мастренко wrote:
Hello!
Can i customize format of Info message about password expiration?
Now, I get this message:
login as: myldapuser
myldapuser@myterminalhost's password:
Your password will expire in 5 day(s).
Last login: Mon Dec 11 11:42:13 2017
[myldapuser@myterminalhost ~]$
I want to colorize this, or make it more visible.
As I seen on github this message is hardcoded, but maybe it is some way to realize this?
I wonder if using pam_account_expired_message together with increased
pam_verbosity would help you?