From owner-freebsd-bugs Tue Apr 18 15:50:17 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 86EA337BBFF for ; Tue, 18 Apr 2000 15:50:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA27472; Tue, 18 Apr 2000 15:50:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from cerberus.techfuel.com (irvine.techfuel.com [209.80.51.55]) by hub.freebsd.org (Postfix) with ESMTP id E74FC37B55D for ; Tue, 18 Apr 2000 15:48:57 -0700 (PDT) (envelope-from kehlet@techfuel.com) Received: from basilisk.techfuel.com (basilisk.techfuel.com [172.16.1.2]) by cerberus.techfuel.com (8.9.3/8.9.3) with ESMTP id PAA71671 for ; Tue, 18 Apr 2000 15:48:57 -0700 (PDT) Received: (from kehlet@localhost) by basilisk.techfuel.com (8.9.3/8.9.3) id PAA98399; Tue, 18 Apr 2000 15:48:57 -0700 (PDT) Message-Id: <200004182248.PAA98399@basilisk.techfuel.com> Date: Tue, 18 Apr 2000 15:48:57 -0700 (PDT) From: Steven Kehlet Reply-To: Steven Kehlet To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/18080: [PATCH] pw documentation updated to reflect lock and unlock Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18080 >Category: bin >Synopsis: [PATCH] pw documentation updated to reflect lock and unlock >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 18 15:50:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Steven Kehlet >Release: >Organization: >Environment: -current >Description: Here's a patch to update pw's man page to document the lock and unlock commands. >How-To-Repeat: >Fix: Index: pw.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/pw/pw.8,v retrieving revision 1.19 diff -c -r1.19 pw.8 *** pw.8 2000/03/02 14:53:37 1.19 --- pw.8 2000/04/18 22:41:22 *************** *** 120,125 **** --- 120,139 ---- .Op Fl q .Nm pw .Op Fl V Ar etcdir + .Ar lock + .Op name|uid + .Op Fl n Ar name + .Op Fl u Ar uid + .Op Fl Y + .Nm pw + .Op Fl V Ar etcdir + .Ar unlock + .Op name|uid + .Op Fl n Ar name + .Op Fl u Ar uid + .Op Fl Y + .Nm pw + .Op Fl V Ar etcdir .Ar groupadd .Op group|gid .Op Fl C Ar config *************** *** 684,689 **** --- 698,716 ---- This is normally of interest only to interactive scripts or front-ends that use .Nm pw . + .Pp + The command + .Ar lock + locks a user's account by + prepending the string + .Nm "*LOCKED*" + to his or her encrypted password field. Since no password can ever + encrypt to a value with a + .Nm *, + the user is effectively locked out. The command + .Ar unlock + reverses the action performed by + .Ar lock. .Pp .Sh GROUP OPTIONS The >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message