Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/useradd.1m
          +++ new/usr/src/man/man1m/useradd.1m
   1    1  '\" te
        2 +.\" Copyright (c) 2013 Gary Mills
   2    3  .\" Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.
   3    4  .\" Copyright 1989 AT&T
   4    5  .\" 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.
   5    6  .\" 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.
   6    7  .\" 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]
   7      -.TH USERADD 1M "Feb 19, 2008"
        8 +.TH USERADD 1M "Apr 16, 2013"
   8    9  .SH NAME
   9   10  useradd \- administer a new user login on the system
  10   11  .SH SYNOPSIS
  11   12  .LP
  12   13  .nf
  13   14  \fBuseradd\fR [\fB-A\fR \fIauthorization\fR [,\fIauthorization...\fR]]
  14   15       [\fB-b\fR \fIbase_dir\fR] [\fB-c\fR \fIcomment\fR] [\fB-d\fR \fIdir\fR] [\fB-e\fR \fIexpire\fR]
  15   16       [\fB-f\fR \fIinactive\fR] [\fB-g\fR \fIgroup\fR] [\fB-G\fR \fIgroup\fR [,\fIgroup\fR]...]
  16   17       [\fB-K\fR \fIkey=value\fR] [\fB-m\fR [\fB-k\fR \fIskel_dir\fR]] [\fB-p\fR \fIprojname\fR]
  17   18       [\fB-P\fR \fIprofile\fR [,\fIprofile...\fR]] [\fB-R\fR \fIrole\fR [,\fIrole...\fR]]
↓ open down ↓ 34 lines elided ↑ open up ↑
  52   53  .sp
  53   54  .LP
  54   55  The system file entries created with this command have a limit of 2048
  55   56  characters per line. Specifying long arguments to several options can exceed
  56   57  this limit.
  57   58  .sp
  58   59  .LP
  59   60  \fBuseradd\fR requires that usernames be in the format described in
  60   61  \fBpasswd\fR(4). A warning message is displayed if these restrictions are not
  61   62  met. See \fBpasswd\fR(4) for the requirements for usernames.
       63 +.LP
       64 +To change the action of \fBuseradd\fR when the traditional login name
       65 +length limit of eight characters is exceeded, edit the file
       66 +\fB/etc/default/useradd\fR by removing the \fB#\fR (pound sign) before the
       67 +appropriate \fBEXCEED_TRAD=\fR entry, and adding it before the others.
  62   68  .SH OPTIONS
  63   69  .sp
  64   70  .LP
  65   71  The following options are supported:
  66   72  .sp
  67   73  .ne 2
  68   74  .na
  69   75  \fB\fB-A\fR \fIauthorization\fR\fR
  70   76  .ad
  71   77  .sp .6
↓ open down ↓ 337 lines elided ↑ open up ↑
 409  415  integer below \fBMAXUID\fR as defined in \fB<sys/param.h>\fR\&. The \fBUID\fR
 410  416  defaults to the next available (unique) number above the highest number
 411  417  currently assigned. For example, if \fBUID\fRs 100, 105, and 200 are assigned,
 412  418  the next default \fBUID\fR number will be 201. \fBUID\fRs \fB0\fR-\fB99\fR are
 413  419  reserved for allocation by the Solaris Operating System.
 414  420  .RE
 415  421  
 416  422  .SH FILES
 417  423  .sp
 418  424  .LP
      425 +\fB/etc/default/useradd\fR
      426 +.sp
      427 +.LP
 419  428  \fB/etc/datemsk\fR
 420  429  .sp
 421  430  .LP
 422  431  \fB/etc/passwd\fR
 423  432  .sp
 424  433  .LP
 425  434  \fB/etc/shadow\fR
 426  435  .sp
 427  436  .LP
 428  437  \fB/etc/group\fR
↓ open down ↓ 120 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX