Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2000 15:48:57 -0700 (PDT)
From:      Steven Kehlet <kehlet@techfuel.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/18080: [PATCH] pw documentation updated to reflect lock and unlock
Message-ID:  <200004182248.PAA98399@basilisk.techfuel.com>

next in thread | raw e-mail | index | archive | help

>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 <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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004182248.PAA98399>