summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-07-04 15:27:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-07-04 15:27:04 +0000
commit0bf424496ff707551a96e09d08d43fa6415d14c9 (patch)
tree02acf161104ee9ba3b3cc0cb442dbf8fa3b85d8b /pw/pwupd.h
parent87935c4d727d66c9400c299c2b69fff91e0183e7 (diff)
downloadpw-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pw/pwupd.h b/pw/pwupd.h
index 8f46e7d..c6ed32e 100644
--- a/pw/pwupd.h
+++ b/pw/pwupd.h
@@ -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;
};