summaryrefslogtreecommitdiffstats
path: root/chpass/chpass.1
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-01-14 23:14:25 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-01-14 23:14:25 +0000
commit11947d5ba71b18faf8967bc5de38bc0138e5fe8a (patch)
treea4fba994f93336b2d0b7ee66edfddec51be139f2 /chpass/chpass.1
parent07dd4bf0f472c2c70379719ac2ead591982a1bf5 (diff)
downloadpw-darwin-11947d5ba71b18faf8967bc5de38bc0138e5fe8a.tar.gz
pw-darwin-11947d5ba71b18faf8967bc5de38bc0138e5fe8a.tar.zst
pw-darwin-11947d5ba71b18faf8967bc5de38bc0138e5fe8a.zip
Add a `-p' option, allowing the super-user to directly set a user's
encrypted password. Kerberized `login' might use this, if I get around to implementing the complete Allspice System behavior.
Diffstat (limited to 'chpass/chpass.1')
-rw-r--r--chpass/chpass.110
1 files changed, 9 insertions, 1 deletions
diff --git a/chpass/chpass.1 b/chpass/chpass.1
index 1a40905..534f063 100644
--- a/chpass/chpass.1
+++ b/chpass/chpass.1
@@ -40,10 +40,13 @@
.Sh SYNOPSIS
chpass
.Op Fl a Ar list
+.Op Fl p Ar encpass
.Op Fl s Ar newshell
.Op user
.Sh DESCRIPTION
-.Nm Chpass
+The
+.Nm chpass
+program
allows editing of the user database information associated
with
.Ar user
@@ -61,6 +64,11 @@ entry, in the format specified by
as an argument.
This argument must be a colon (``:'') separated list of all the
user database fields, although they may be empty.
+.It Fl p
+The super-user is allowed to directly supply an encrypted password field,
+in the format used by
+.Xr crypt 3 ,
+as an argument.
.It Fl s
The
.Fl s