diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-04 15:27:04 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-04 15:27:04 +0000 |
| commit | 0bf424496ff707551a96e09d08d43fa6415d14c9 (patch) | |
| tree | 02acf161104ee9ba3b3cc0cb442dbf8fa3b85d8b /pw/pwupd.h | |
| parent | 87935c4d727d66c9400c299c2b69fff91e0183e7 (diff) | |
| download | pw-darwin-0bf424496ff707551a96e09d08d43fa6415d14c9.tar.gz pw-darwin-0bf424496ff707551a96e09d08d43fa6415d14c9.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; }; |
