Print this page
7648 useradd/mod commands operate on /home special filesystem

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/useradd.1m.man.txt
          +++ new/usr/src/man/man1m/useradd.1m.man.txt
↓ open down ↓ 94 lines elided ↑ open up ↑
  95   95             option sets the default values for the specified fields. The
  96   96             default values are:
  97   97  
  98   98             group
  99   99  
 100  100                 other (GID of 1)
 101  101  
 102  102  
 103  103             base_dir
 104  104  
 105      -               /home
      105 +               /home (can be overwritten in /etc/default/useradd file)
 106  106  
 107  107  
 108  108             skel_dir
 109  109  
 110  110                 /etc/skel
 111  111  
 112  112  
 113  113             shell
 114  114  
 115  115                 /bin/sh
↓ open down ↓ 31 lines elided ↑ open up ↑
 147  147  
 148  148             key=value (pairs defined in user_attr(4)
 149  149  
 150  150                 not present
 151  151  
 152  152  
 153  153             roles
 154  154  
 155  155                 null
 156  156  
      157 +           If /usr/sadm/defadduser file does not exist or doesn't set basedir
      158 +           (for example, on first useradd -D invocation), default value for
      159 +           base_dir is determined by HOME_PARENT parameter in
      160 +           /etc/default/useradd file.
 157  161  
 158  162  
 159  163         -e expire
 160  164  
 161  165             Specify the expiration date for a login. After this date, no user
 162  166             will be able to access this login. The expire option argument is a
 163  167             date entered using one of the date formats included in the template
 164  168             file /etc/datemsk. See getdate(3C).
 165  169  
 166  170             If the date format that you choose includes spaces, it must be
↓ open down ↓ 116 lines elided ↑ open up ↑
 283  287  
 284  288         /etc/shadow
 285  289  
 286  290  
 287  291         /etc/group
 288  292  
 289  293  
 290  294         /etc/skel
 291  295  
 292  296  
      297 +       /etc/user_attr
      298 +
      299 +
 293  300         /usr/include/limits.h
 294  301  
 295  302  
 296      -       /etc/user_attr
      303 +       /usr/sadm/defadduser
 297  304  
 298  305  ATTRIBUTES
 299  306         See attributes(5) for descriptions of the following attributes:
 300  307  
 301  308  
 302  309  
 303  310  
 304  311         +--------------------+-----------------+
 305  312         |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 306  313         +--------------------+-----------------+
↓ open down ↓ 62 lines elided ↑ open up ↑
 369  376         etc/passwd, /etc/passwd, /etc/shadow, /etc/project, and /etc/user_attr
 370  377         files. If a network name service such as NIS or NIS+ is being used to
 371  378         supplement the local /etc/passwd file with additional entries, useradd
 372  379         cannot change information supplied by the network name service. However
 373  380         useradd will verify the uniqueness of the user name (or role) and user
 374  381         id and the existence of any group names specified against the external
 375  382         name service.
 376  383  
 377  384  
 378  385  
 379      -                                April 16, 2013                     USERADD(1M)
      386 +                               December 5, 2016                    USERADD(1M)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX