summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-12-17 14:43:33 +0000
committerphantom <phantom@FreeBSD.org>1999-12-17 14:43:33 +0000
commitefae37a130fd53b78e97de4fb6d924ee9dcd7773 (patch)
treea4c74f8e1497e877d1b9c37e24adc1b54eea6d72 /usr.bin/chpass
parentd58be655c4cd274dc5f2283be258d00e16bec6ab (diff)
downloadFreeBSD-src-efae37a130fd53b78e97de4fb6d924ee9dcd7773.zip
FreeBSD-src-efae37a130fd53b78e97de4fb6d924ee9dcd7773.tar.gz
Document -e flag.
PR: docs/14936 Submitted by: Stephen J. Roznowski <sjr@home.com>
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/chpass.114
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.bin/chpass/chpass.1 b/usr.bin/chpass/chpass.1
index 41595e1..615751b 100644
--- a/usr.bin/chpass/chpass.1
+++ b/usr.bin/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 .
OpenPOWER on IntegriCloud