diff options
author | davidn <davidn@FreeBSD.org> | 1999-10-26 08:34:09 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1999-10-26 08:34:09 +0000 |
commit | 091d63007009782645e83fda77ebeff7eb52f243 (patch) | |
tree | 2aa1f2f02b890aebacec8f3289cb2e2be16b19ca /usr.sbin/pw/pw.h | |
parent | 297001db2a5f0a61adb1417b3e483603abf2f786 (diff) | |
download | FreeBSD-src-091d63007009782645e83fda77ebeff7eb52f243.zip FreeBSD-src-091d63007009782645e83fda77ebeff7eb52f243.tar.gz |
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 'usr.sbin/pw/pw.h')
-rw-r--r-- | usr.sbin/pw/pw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pw/pw.h b/usr.sbin/pw/pw.h index f85eac7..aa437ec 100644 --- a/usr.sbin/pw/pw.h +++ b/usr.sbin/pw/pw.h @@ -50,6 +50,8 @@ enum _mode M_UPDATE, M_PRINT, M_NEXT, + M_LOCK, + M_UNLOCK, M_NUM }; |