diff options
Diffstat (limited to 'usr/src/man/man1m/passmgmt.1m')
-rw-r--r-- | usr/src/man/man1m/passmgmt.1m | 55 |
1 files changed, 6 insertions, 49 deletions
diff --git a/usr/src/man/man1m/passmgmt.1m b/usr/src/man/man1m/passmgmt.1m index e1a3397863..f654f4d015 100644 --- a/usr/src/man/man1m/passmgmt.1m +++ b/usr/src/man/man1m/passmgmt.1m @@ -3,7 +3,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH passmgmt 1M "27 Aug 2007" "SunOS 5.11" "System Administration Commands" +.TH PASSMGMT 1M "Aug 27, 2007" .SH NAME passmgmt \- password files management .SH SYNOPSIS @@ -50,24 +50,20 @@ be removed manually. .SH OPTIONS .sp .ne 2 -.mk .na \fB\fB\fR\fB-c\fR \fIcomment\fR\fR .ad .RS 16n -.rt A short description of the login, enclosed in quotes. It is limited to a maximum of 128 characters and defaults to an empty field. .RE .sp .ne 2 -.mk .na \fB\fB-e\fR \fIexpire\fR\fR .ad .RS 16n -.rt Specify the expiration date for a login. After this date, no user will be able to access this login. The expire option argument is a date entered using one of the date formats included in the template file \fB/etc/datemsk\fR. See @@ -76,12 +72,10 @@ the date formats included in the template file \fB/etc/datemsk\fR. See .sp .ne 2 -.mk .na \fB\fB-f\fR \fIinactive\fR\fR .ad .RS 16n -.rt The maximum number of days allowed between uses of a login ID before that \fBID\fR is declared invalid. Normal values are positive integers. A value of \fB0\fR defeats the status. @@ -91,36 +85,30 @@ Changing the password reactivates an account for the inactivity period. .sp .ne 2 -.mk .na \fB\fB\fR\fB-g\fR \fIgid\fR\fR .ad .RS 16n -.rt \fBGID\fR of \fIname\fR. This number must range from 0 to the maximum non-negative value for the system. The default is 1. .RE .sp .ne 2 -.mk .na \fB\fB\fR\fB-h\fR \fIhomedir\fR\fR .ad .RS 16n -.rt Home directory of \fIname\fR. It is limited to a maximum of 256 characters and defaults to \fB/usr/\fR\fIname\fR. .RE .sp .ne 2 -.mk .na \fB\fB-K\fR \fIkey=value\fR\fR .ad .RS 16n -.rt Set a \fIkey=value\fR pair. See \fBuser_attr\fR(4), \fBauth_attr\fR(4), and \fBprof_attr\fR(4). The valid \fIkey=value\fR pairs are defined in \fBuser_attr\fR(4), but the "type" key is subject to the \fBusermod\fR(1M) and @@ -130,12 +118,10 @@ with multiple \fB-K\fR options. .sp .ne 2 -.mk .na \fB\fB-k\fR \fIskel_dir\fR\fR .ad .RS 16n -.rt A directory that contains skeleton information (such as \fB\&.profile\fR) that can be copied into a new user's home directory. This directory must already exist. The system provides the \fB/etc/skel\fR directory that can be used for @@ -144,12 +130,10 @@ this purpose. .sp .ne 2 -.mk .na \fB\fB-l\fR \fIlogname\fR\fR .ad .RS 16n -.rt This option changes the \fIname\fR to \fIlogname\fR. It is used only with the \fB-m\fR option. The total size of each login entry is limited to a maximum of 511 bytes in each of the password files. @@ -157,24 +141,20 @@ This option changes the \fIname\fR to \fIlogname\fR. It is used only with the .sp .ne 2 -.mk .na \fB\fB-o\fR\fR .ad .RS 16n -.rt This option allows a \fBUID\fR to be non-unique. It is used only with the \fB-u\fR option. .RE .sp .ne 2 -.mk .na \fB\fB\fR\fB-s\fR \fIshell\fR\fR .ad .RS 16n -.rt Login shell for \fIname\fR. It should be the full pathname of the program that will be executed when the user logs in. The maximum size of \fIshell\fR is 256 characters. The default is for this field to be empty and to be interpreted as @@ -183,12 +163,10 @@ characters. The default is for this field to be empty and to be interpreted as .sp .ne 2 -.mk .na \fB\fB\fR\fB-u\fR \fIuid\fR\fR .ad .RS 16n -.rt \fBUID\fR of the \fIname\fR. This number must range from 0 to the maximum non-negative value for the system. It defaults to the next available \fBUID\fR greater than 99. Without the \fB-o\fR option, it enforces the uniqueness of a @@ -215,13 +193,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving .TE .SH SEE ALSO @@ -236,113 +213,93 @@ Interface StabilityEvolving The \fBpassmgmt\fR command exits with one of the following values: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt Success. .RE .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt Permission denied. .RE .sp .ne 2 -.mk .na \fB\fB2\fR\fR .ad .RS 5n -.rt Invalid command syntax. Usage message of the \fBpassmgmt\fR command is displayed. .RE .sp .ne 2 -.mk .na \fB\fB3\fR\fR .ad .RS 5n -.rt Invalid argument provided to option. .RE .sp .ne 2 -.mk .na \fB\fB4\fR\fR .ad .RS 5n -.rt UID in use. .RE .sp .ne 2 -.mk .na \fB\fB5\fR\fR .ad .RS 5n -.rt Inconsistent password files (for example, \fIname\fR is in the \fB/etc/passwd\fR file and not in the \fB/etc/shadow\fR file, or vice versa). .RE .sp .ne 2 -.mk .na \fB\fB6\fR\fR .ad .RS 5n -.rt Unexpected failure. Password files unchanged. .RE .sp .ne 2 -.mk .na \fB\fB7\fR\fR .ad .RS 5n -.rt Unexpected failure. Password file(s) missing. .RE .sp .ne 2 -.mk .na \fB\fB8\fR\fR .ad .RS 5n -.rt Password file(s) busy. Try again later. .RE .sp .ne 2 -.mk .na \fB\fB9\fR\fR .ad .RS 5n -.rt \fIname\fR does not exist (if \fB-m\fR or \fB-d\fR is specified), already exists (if \fB-a\fR is specified), or \fBlogname\fR already exists (if \fB\fR\fB-m\fR \fB-l\fR is specified). |