Print this page
293 useradd/del/mod should be ZFS-aware

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 ↓ 1 lines elided ↑ open up ↑
   2    2  
   3    3  
   4    4  
   5    5  NAME
   6    6         useradd - administer a new user login on the system
   7    7  
   8    8  SYNOPSIS
   9    9         useradd [-A authorization [,authorization...]]
  10   10              [-b base_dir] [-c comment] [-d dir] [-e expire]
  11   11              [-f inactive] [-g group] [-G group [,group]...]
  12      -            [-K key=value] [-m [-k skel_dir]] [-p projname]
       12 +            [-K key=value] [-m [-z|-Z] [-k skel_dir]] [-p projname]
  13   13              [-P profile [,profile...]] [-R role [,role...]]
  14   14              [-s shell] [-u uid [-o]] login
  15   15  
  16   16  
  17   17         useradd -D [-A authorization [,authorization...]]
  18   18              [-b base_dir] [-s shell [-k skel_dir]] [-e expire]
  19   19              [-f inactive] [-g group] [-K key=value] [-p projname]
  20   20              [-P profile [,profile...]] [-R role [,role...]]
  21   21  
  22   22  
↓ open down ↓ 159 lines elided ↑ open up ↑
 182  182             this option. Keys may not be repeated.
 183  183  
 184  184  
 185  185         -k skel_dir
 186  186             A directory that contains skeleton information (such as .profile)
 187  187             that can be copied into a new user's home directory. This directory
 188  188             must already exist. The system provides the /etc/skel directory
 189  189             that can be used for this purpose.
 190  190  
 191  191  
 192      -       -m
      192 +       -m [-z|-Z]
 193  193             Create the new user's home directory if it does not already exist.
 194  194             If the directory already exists, it must have read, write, and
 195  195             execute permissions by group, where group is the user's primary
 196      -           group.
      196 +           group.  CHANGE_ZFS_FS option in /etc/default/useradd file
      197 +           determines if ZFS filesystem will be created for new user. If this
      198 +           option is set to yes and parent directory of user's home directory
      199 +           is ZFS filesystem mount point, a new ZFS filesystem is created. -z
      200 +           and -Z options allow overwrite default behavior.  If -z option is
      201 +           specified, useradd tries to create new file system for user. If -Z
      202 +           option is specified, new file system is not created.
 197  203  
 198  204  
 199  205         -o
 200  206             This option allows a UID to be duplicated (non-unique).
 201  207  
 202  208  
 203  209         -P profile
 204  210             One or more comma-separated execution profiles defined in
 205  211             prof_attr(4).
 206  212  
↓ open down ↓ 132 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX