You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
passwd/SOURCES/passwd-0.80-manpage.patch

49 lines
1.7 KiB

diff --git a/man/passwd.1 b/man/passwd.1
index 1bc2a6e..9727b88 100644
--- a/man/passwd.1
+++ b/man/passwd.1
@@ -40,7 +40,7 @@
passwd \- update user's authentication tokens
.SH SYNOPSIS
-.B passwd [-k] [-l] [-u [-f]] [-d] [-e] [-n mindays] [-x maxdays] [-w warndays] [-i inactivedays] [-S] [--stdin] [username]
+.B passwd [-k] [-l] [-u [-f]] [-d] [-e] [-n mindays] [-x maxdays] [-w warndays] [-i inactivedays] [-S] [--stdin] [-?] [--usage] [username]
.sp 2
.SH DESCRIPTION
The passwd utility is used to update user's authentication token(s).
@@ -82,7 +82,7 @@ function correctly.
.SH OPTIONS
.TP
-\fB\-k\fR, \fB\-\-keep\fR
+\fB\-k\fR, \fB\-\-keep\-tokens\fR
The option
.B \-k
is used to indicate that the update should only be for expired
@@ -158,8 +158,8 @@ root only.
This will output a short information about the status of the password
for a given account. The status information consists of 7 fields. The
first field is the user's login name. The second field indicates if the
-user account has a locked password (L), has no password (NP), or has a
-usable password (P). The third field gives the date of the last password
+user account has a locked password (LK), has no password (NP), or has a
+usable password (PS). The third field gives the date of the last password
change. The next four fields are the minimum age, maximum age, warning
period, and inactivity period for the password. These ages are expressed
in days.
@@ -174,6 +174,14 @@ from the real date of the last password change by ±1 day.
.sp
This option is available to root only.
+.TP
+\fB\-?\fR, \fB\-\-help\fR
+Print a help message and exit.
+
+.TP
+\fB\-\-usage\fR
+Print a short usage message and exit.
+
.SH "Remember the following two principles"
.IP \fBProtect\ your\ password.\fR