diff options
author | 1996-08-12 14:45:26 +0000 | |
---|---|---|
committer | 1996-08-12 14:45:26 +0000 | |
commit | 73ca041dfcdee40aae69e5de3412a1148126ec4e (patch) | |
tree | 7f390982242bddb86eda7b3f9ab11f97846f99d2 /chpass/pw_yp.c | |
parent | db3019bee11d27de92f652ab0a832ed72f97a4c6 (diff) | |
download | pw-darwin-73ca041dfcdee40aae69e5de3412a1148126ec4e.tar.gz pw-darwin-73ca041dfcdee40aae69e5de3412a1148126ec4e.tar.zst pw-darwin-73ca041dfcdee40aae69e5de3412a1148126ec4e.zip |
Add new option to chpass: -e "expire" ; change the account expire time
from a script as if it was done in the interactive editor.
When reassembling the gecos string, trim any excess trailing commas, they
look ugly in the passwd file. :-)
Have a simple Makefile tweak to prevent mortal users from changing their
fullname. As ISP's we have seem some real bizzare stuff here..
When decoding the change/expire string, allow the month number as a
synonym for the name of the month.. (ie: 1 as well as Jan or January)
Note that using numbers means there's a chance that you can get bitten
if you're not used to the American DD-MM-YY order.
Diffstat (limited to 'chpass/pw_yp.c')
0 files changed, 0 insertions, 0 deletions