diff options
author | 2015-07-04 15:27:04 +0000 | |
---|---|---|
committer | 2015-07-04 15:27:04 +0000 | |
commit | a723ebdc0a4d074c12bedca8c7d483a13105c295 (patch) | |
tree | c041c77aaa80a7890f98192b8b6c245c94f7166c /pw/pwupd.h | |
parent | cc666f9d1a91a808b95a347674765342e3a354ef (diff) | |
download | pw-darwin-a723ebdc0a4d074c12bedca8c7d483a13105c295.tar.gz pw-darwin-a723ebdc0a4d074c12bedca8c7d483a13105c295.tar.zst pw-darwin-a723ebdc0a4d074c12bedca8c7d483a13105c295.zip |
Validate input of pw usermod -h and pwusermod -H
Push the code that set the password into a separate function to improve
readability
Add regression tests about pw usermod -h and pw usermod -H
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r-- | pw/pwupd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,10 +85,12 @@ struct pwconf { char etcpath[MAXPATHLEN]; char *newname; char *config; + int fd; bool dryrun; bool pretty; bool v7; bool checkduplicate; + bool precrypted; struct userconf *userconf; }; |