From 091d63007009782645e83fda77ebeff7eb52f243 Mon Sep 17 00:00:00 2001 From: davidn Date: Tue, 26 Oct 1999 08:34:09 +0000 Subject: 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. --- usr.sbin/pw/pw.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin/pw/pw.h') 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 }; -- cgit v1.1