"-x This will set the maximum password lifetime, in days, if the user's
account supports password lifetimes. Available to root only." - man
passwd(1)

Are you sure that the password for john had been set within 15 days
before you used 'sudo passwd -x 15 john'? The lifetime apparently begins
when the password is made, not when the lifetime limit is set.

sudo passwd jonh
sudo passwd -x 15 john

you should not be prompted.

** Changed in: shadow (Ubuntu)
       Status: New => Incomplete

-- 
Password aging appears to be ignored
https://bugs.launchpad.net/bugs/240234
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to