]> git.ipfire.org Git - thirdparty/shadow.git/commit
implement passwd --status (mostly) rust
authorSerge Hallyn <serge@hallyn.com>
Fri, 17 Dec 2021 21:10:09 +0000 (15:10 -0600)
committerSerge Hallyn <serge@hallyn.com>
Fri, 24 Dec 2021 06:14:44 +0000 (00:14 -0600)
commit9d14968577ba6e76bf039099ee3d28539637d69b
tree15090e951a8a11ac73ef34a5ec74cfed381329dc
parent3e901e2788a635a28f5a25671c8e32dcb35e1d4c
implement passwd --status (mostly)

Still need to do date printing.

'sudo passwd -S' and 'sudo passwd -S someuser' work.

Note passwd has to be setuid root to be able to open shadow
file in order to print most of that info as non-root.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
src/bin/passwd.rs