Bug 51283

Summary: passwd -e not supported
Product: Sisyphus Reporter: Arseny Maslennikov <arseny>
Component: passwdAssignee: Dmitry V. Levin <ldv>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: ldv, placeholder
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Arseny Maslennikov 2024-08-26 19:23:20 MSK
(This bug is unlikely to be a dupe, since nothing can be found by the keywords "expire", "passwd expire", "истечь", "истечение", "срок". I am surprised that has been the case to this day.)

The shadow-utils passwd(8) utility has a documented -e option to immediately expire the password for an account:

  % passwd --help | grep -F 'force expire'
    -e, --expire                  force expire the password for the named account

It looks like neither of the 2 passwd programs packaged in the ALT repos provides this functionality. Could someone please implement this option?
Thanks in advance.