summaryrefslogtreecommitdiffstats
path: root/pw/pw.h
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1999-10-26 08:34:09 +0000
committerDavid Nugent <davidn@FreeBSD.org>1999-10-26 08:34:09 +0000
commit6d9a1b6caae301dc8c6b0d18e8c5d3ef931d1ea5 (patch)
tree1796accc4d8a1a2f9fe1158620c5e0cb3246c44d /pw/pw.h
parent72ce339a913df5506bb3433e522e71c20febec7f (diff)
downloadpw-darwin-6d9a1b6caae301dc8c6b0d18e8c5d3ef931d1ea5.tar.gz
pw-darwin-6d9a1b6caae301dc8c6b0d18e8c5d3ef931d1ea5.tar.zst
pw-darwin-6d9a1b6caae301dc8c6b0d18e8c5d3ef931d1ea5.zip
Add new functionality "lock" and "unlock" to provide a simple password
locking mechanism for users. This works by prepending the string "*LOCKED*" to the password field in master.passwd to prevent successful decoding.
Diffstat (limited to 'pw/pw.h')
-rw-r--r--pw/pw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pw/pw.h b/pw/pw.h
index f85eac7..aa437ec 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -50,6 +50,8 @@ enum _mode
M_UPDATE,
M_PRINT,
M_NEXT,
+ M_LOCK,
+ M_UNLOCK,
M_NUM
};