From kehlet@techfuel.com  Tue Apr 18 15:48:59 2000
Return-Path: <kehlet@techfuel.com>
Received: from cerberus.techfuel.com (irvine.techfuel.com [209.80.51.55])
	by hub.freebsd.org (Postfix) with ESMTP id E74FC37B55D
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <kehlet@techfuel.com>
Reply-To: Steven Kehlet <kehlet@techfuel.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] pw documentation updated to reflect lock and unlock
X-Send-Pr-Version: 3.2

>Number:         18080
>Category:       bin
>Synopsis:       [PATCH] pw documentation updated to reflect lock and unlock
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 18 15:50:02 PDT 2000
>Closed-Date:    Mon Mar 17 06:35:19 PST 2003
>Last-Modified:  Mon Mar 17 06:35:19 PST 2003
>Originator:     Steven Kehlet <kehlet@techfuel.com>
>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:
Responsible-Changed-From-To: freebsd-bugs->davidn 
Responsible-Changed-By: nra 
Responsible-Changed-When: Wed Jul 19 21:02:05 PDT 2000 
Responsible-Changed-Why:  
David seems to be working with pw(8) alot these days. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18080 
Responsible-Changed-From-To: davidn->freebsd-bugs 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Fri Mar 14 21:49:02 PST 2003 
Responsible-Changed-Why:  

davidn is no longer with us 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18080 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Mon Mar 17 06:32:24 PST 2003 
State-Changed-Why:  
This seems to have been handled independently by Dima Dorfman in 
rev. 1.22 of src/usr.sbin/pw/pw.8 in response to PR bin/25187. 
Still, thanks for your contribution! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18080 
>Unformatted:
