Bug 51283 - passwd -e not supported
Summary: passwd -e not supported
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: passwd (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-26 19:23 MSK by Arseny Maslennikov
Modified: 2024-08-26 19:23 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.