summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/usermod.1m
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1m/usermod.1m')
-rw-r--r--usr/src/man/man1m/usermod.1m54
1 files changed, 11 insertions, 43 deletions
diff --git a/usr/src/man/man1m/usermod.1m b/usr/src/man/man1m/usermod.1m
index 4d9dfb1326..46f4f9992b 100644
--- a/usr/src/man/man1m/usermod.1m
+++ b/usr/src/man/man1m/usermod.1m
@@ -3,17 +3,17 @@
.\" 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 usermod 1M "22 Feb 2008" "SunOS 5.11" "System Administration Commands"
+.TH USERMOD 1M "Feb 22, 2008"
.SH NAME
usermod \- modify a user's login information on the system
.SH SYNOPSIS
.LP
.nf
-\fBusermod\fR [\fB-u\fR \fIuid\fR [\fB-o\fR]] [\fB-g\fR \fIgroup\fR] [\fB-G\fR \fIgroup\fR [, \fIgroup\fR...]]
- [\fB-d\fR \fIdir\fR [\fB-m\fR]] [\fB-s\fR \fIshell\fR] [\fB-c\fR \fIcomment\fR] [\fB-l\fR \fInew_name\fR]
- [\fB-f\fR \fIinactive\fR] [\fB-e\fR \fIexpire\fR]
- [\fB-A\fR \fIauthorization\fR [, \fIauthorization\fR]]
- [\fB-P\fR \fIprofile\fR [, \fIprofile\fR]] [\fB-R\fR \fIrole\fR [, \fIrole\fR]]
+\fBusermod\fR [\fB-u\fR \fIuid\fR [\fB-o\fR]] [\fB-g\fR \fIgroup\fR] [\fB-G\fR \fIgroup\fR [, \fIgroup\fR...]]
+ [\fB-d\fR \fIdir\fR [\fB-m\fR]] [\fB-s\fR \fIshell\fR] [\fB-c\fR \fIcomment\fR] [\fB-l\fR \fInew_name\fR]
+ [\fB-f\fR \fIinactive\fR] [\fB-e\fR \fIexpire\fR]
+ [\fB-A\fR \fIauthorization\fR [, \fIauthorization\fR]]
+ [\fB-P\fR \fIprofile\fR [, \fIprofile\fR]] [\fB-R\fR \fIrole\fR [, \fIrole\fR]]
[\fB-K\fR \fIkey=value\fR] \fIlogin\fR
.fi
@@ -34,7 +34,6 @@ this limit.
The following options are supported:
.sp
.ne 2
-.mk
.na
\fB\fB-A\fR \fIauthorization\fR\fR
.ad
@@ -48,7 +47,6 @@ no authorization list is specified, the existing setting is removed.
.sp
.ne 2
-.mk
.na
\fB\fB-c\fR \fIcomment\fR\fR
.ad
@@ -62,7 +60,6 @@ entry.
.sp
.ne 2
-.mk
.na
\fB\fB-d\fR \fIdir\fR\fR
.ad
@@ -75,7 +72,6 @@ home directories, and \fBlogin\fR is the new login.
.sp
.ne 2
-.mk
.na
\fB\fB-e\fR \fIexpire\fR\fR
.ad
@@ -92,7 +88,6 @@ For example, you may enter \fB10/6/90\fR or \fBOctober 6, 1990\fR. A value of
.sp
.ne 2
-.mk
.na
\fB\fB-f\fR \fIinactive\fR\fR
.ad
@@ -105,7 +100,6 @@ integers. A value of \fB0\fR defeats the status.
.sp
.ne 2
-.mk
.na
\fB\fB-g\fR \fIgroup\fR\fR
.ad
@@ -117,7 +111,6 @@ redefines the user's primary group membership.
.sp
.ne 2
-.mk
.na
\fB\fB-G\fR \fIgroup\fR\fR
.ad
@@ -131,7 +124,6 @@ redefines the user's supplementary group membership. Duplicates between
.sp
.ne 2
-.mk
.na
\fB\fB-K\fR \fIkey=value\fR\fR
.ad
@@ -159,7 +151,6 @@ present.
.sp
.ne 2
-.mk
.na
\fB\fB-l\fR \fInew_logname\fR\fR
.ad
@@ -171,7 +162,6 @@ requirements for usernames.
.sp
.ne 2
-.mk
.na
\fB\fB-m\fR\fR
.ad
@@ -185,7 +175,6 @@ group.
.sp
.ne 2
-.mk
.na
\fB\fB-o\fR\fR
.ad
@@ -196,7 +185,6 @@ This option allows the specified \fBUID\fR to be duplicated (non-unique).
.sp
.ne 2
-.mk
.na
\fB\fB-P\fR \fIprofile\fR\fR
.ad
@@ -209,7 +197,6 @@ profile list is specified, the existing setting is removed.
.sp
.ne 2
-.mk
.na
\fB\fB-R\fR \fIrole\fR\fR
.ad
@@ -222,7 +209,6 @@ removed.
.sp
.ne 2
-.mk
.na
\fB\fB-s\fR \fIshell\fR\fR
.ad
@@ -234,7 +220,6 @@ login. The value of \fIshell\fR must be a valid executable file.
.sp
.ne 2
-.mk
.na
\fB\fB-u\fR \fIuid\fR\fR
.ad
@@ -253,7 +238,6 @@ manually reassigned using \fBchown\fR(1).
The following operands are supported:
.sp
.ne 2
-.mk
.na
\fB\fBlogin\fR\fR
.ad
@@ -391,7 +375,6 @@ In case of an error, \fBusermod\fR prints an error message and exits with one
of the following values:
.sp
.ne 2
-.mk
.na
\fB\fB2\fR\fR
.ad
@@ -403,7 +386,6 @@ is displayed.
.sp
.ne 2
-.mk
.na
\fB\fB3\fR\fR
.ad
@@ -414,7 +396,6 @@ An invalid argument was provided to an option.
.sp
.ne 2
-.mk
.na
\fB\fB4\fR\fR
.ad
@@ -425,7 +406,6 @@ The \fIuid\fR given with the \fB-u\fR option is already in use.
.sp
.ne 2
-.mk
.na
\fB\fB5\fR\fR
.ad
@@ -437,7 +417,6 @@ possible errors. See \fBpasswd\fR(4).
.sp
.ne 2
-.mk
.na
\fB\fB6\fR\fR
.ad
@@ -449,7 +428,6 @@ login shell does not exist.
.sp
.ne 2
-.mk
.na
\fB\fB8\fR\fR
.ad
@@ -460,7 +438,6 @@ The login to be modified is in use.
.sp
.ne 2
-.mk
.na
\fB\fB9\fR\fR
.ad
@@ -471,7 +448,6 @@ The \fInew_logname\fR is already in use.
.sp
.ne 2
-.mk
.na
\fB\fB10\fR\fR
.ad
@@ -483,7 +459,6 @@ requests will be implemented.
.sp
.ne 2
-.mk
.na
\fB\fB11\fR\fR
.ad
@@ -495,7 +470,6 @@ requests will be implemented.
.sp
.ne 2
-.mk
.na
\fB\fB12\fR\fR
.ad
@@ -507,7 +481,6 @@ Unable to complete the move of the home directory to the new home directory.
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/etc/group\fR\fR
.ad
@@ -518,7 +491,6 @@ system file containing group definitions
.sp
.ne 2
-.mk
.na
\fB\fB/etc/datemsk\fR\fR
.ad
@@ -529,7 +501,6 @@ system file of date formats
.sp
.ne 2
-.mk
.na
\fB\fB/etc/passwd\fR\fR
.ad
@@ -540,7 +511,6 @@ system password file
.sp
.ne 2
-.mk
.na
\fB\fB/etc/shadow\fR\fR
.ad
@@ -551,7 +521,6 @@ system file containing users' encrypted passwords and related information
.sp
.ne 2
-.mk
.na
\fB\fB/etc/user_attr\fR\fR
.ad
@@ -568,13 +537,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 StabilityCommitted
+Interface Stability Committed
.TE
.SH SEE ALSO