FreeBSD Bugzilla – Attachment 13170 Details for
Bug 25187
[PATCH] pw(8) seg faults; man page doesn't document lock feature
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.18 KB, created by
dima
on 2001-02-18 11:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dima
Created:
2001-02-18 11:00:02 UTC
Size:
2.18 KB
patch
obsolete
>Index: pw.8 >=================================================================== >RCS file: /st/src/FreeBSD/src/usr.sbin/pw/pw.8,v >retrieving revision 1.21 >diff -u -r1.21 pw.8 >--- pw.8 2001/02/01 16:43:57 1.21 >+++ pw.8 2001/02/13 23:50:32 >@@ -169,6 +169,18 @@ > .Ar groupnext > .Op Fl C Ar config > .Op Fl q >+.Nm >+.Op Fl V Ar etcdir >+.Ar lock >+.Op name|uid >+.Op Fl C Ar config >+.Op Fl q >+.Nm >+.Op Fl V Ar etcdir >+.Ar unlock >+.Op name|uid >+.Op Fl C Ar config >+.Op Fl q > .Sh DESCRIPTION > .Nm Pw > is a command-line based editor for the system >@@ -758,6 +770,26 @@ > The command > .Ar groupnext > returns the next available group id on standard output. >+.Sh USER LOCKING >+.Nm Pw >+supports a simple password locking mechanism for users; it works by >+prepending the string >+.Ql *LOCKED* >+to the beginning of the password field in >+.Pa master.passwd >+to prevent successful authentication. >+.Pp >+The >+.Ar lock >+and >+.Ar unlock >+commands take a user name or uid of the account to lock or unlock, >+respectively. The >+.Ql Fl V , >+.Ql Fl C , >+and >+.Ql Fl q >+options as described above are accepted by these commands. > .Sh DIAGNOSTICS > .Nm Pw > returns EXIT_SUCCESS on successful operation, otherwise >Index: pw.c >=================================================================== >RCS file: /st/src/FreeBSD/src/usr.sbin/pw/pw.c,v >retrieving revision 1.23 >diff -u -r1.23 pw.c >--- pw.c 2000/12/29 18:04:49 1.23 >+++ pw.c 2001/02/13 23:16:03 >@@ -370,6 +370,15 @@ > "usage: pw usernext [switches]\n" > "\t-V etcdir alternate /etc location\n" > "\t-C config configuration file\n" >+ "\t-q quiet operation\n", >+ "usage pw: lock [switches]\n" >+ "\t-V etcdir alternate /etc locations\n" >+ "\t-C config configuration file\n" >+ "\t-q quiet operation\n", >+ "usage pw: unlock [switches]\n" >+ "\t-V etcdir alternate /etc locations\n" >+ "\t-C config configuration file\n" >+ "\t-q quiet operation\n" > }, > { > "usage: pw groupadd [group|gid] [switches]\n" >@@ -409,6 +418,7 @@ > "usage: pw groupnext [switches]\n" > "\t-V etcdir alternate /etc location\n" > "\t-C config configuration file\n" >+ "\t-q quiet operation\n" > } > };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25187
: 13170