summaryrefslogtreecommitdiffstats
path: root/chpass
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>1999-12-17 14:43:33 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>1999-12-17 14:43:33 +0000
commit3fcf01fc19e450c63ccf23bd3cac6aa9166fc988 (patch)
tree935077c462c284dcaea8b11495a29faab2217401 /chpass
parent5d82c0fe7fac3dc3e580e1714fac5f9a886f1a2c (diff)
downloadpw-darwin-3fcf01fc19e450c63ccf23bd3cac6aa9166fc988.tar.gz
pw-darwin-3fcf01fc19e450c63ccf23bd3cac6aa9166fc988.tar.zst
pw-darwin-3fcf01fc19e450c63ccf23bd3cac6aa9166fc988.zip
Document -e flag.
PR: docs/14936 Submitted by: Stephen J. Roznowski <sjr@home.com>
Diffstat (limited to 'chpass')
-rw-r--r--chpass/chpass.114
1 files changed, 14 insertions, 0 deletions
diff --git a/chpass/chpass.1 b/chpass/chpass.1
index 41595e1..615751b 100644
--- a/chpass/chpass.1
+++ b/chpass/chpass.1
@@ -47,8 +47,19 @@
.Nm chpass
.Op Fl a Ar list
.Op Fl p Ar encpass
+.Op Fl e Ar expiretime
.Op Fl s Ar newshell
.Op user
+.Pp
+.Nm chpass
+.Op Fl oly
+.Op Fl a Ar list
+.Op Fl p Ar encpass
+.Op Fl e Ar expiretime
+.Op Fl s Ar newshell
+.Op Fl d Ar domain
+.Op Fl h Ar host
+.Op user
.Sh DESCRIPTION
The
.Nm
@@ -77,6 +88,9 @@ 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 e Ar expiretime
+Change the account expire time. This option is used to set the expire time
+from a script as if it was done in the interactive editor.
.It Fl s Ar newshell
Attempt to change the user's shell to
.Ar newshell .