Red Hat Bugzilla – Bug 121758
passwd -e flag does not exist
Last modified: 2007-11-30 17:07:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)
Description of problem:
The passwd command does not have the "-e" flag "The user will be
forced to change the password at next login."
And there is not valid alternative to it.
This is a must have feature because in production systems the acount
setup will be done by one person and therefore there is a security
risk in it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. man passwd
2. passwd -e
Expected Results: The user whould be force to change is password at
the next login.
Internal RFE bug #122109 entered; will be considered for future releases.
This request should be brought to the upstream maintainer of shadow-utils.
An alternative is "chage -d 0".