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

*** 7,17 **** SYNOPSIS useradd [-A authorization [,authorization...]] [-b base_dir] [-c comment] [-d dir] [-e expire] [-f inactive] [-g group] [-G group [,group]...] ! [-K key=value] [-m [-k skel_dir]] [-p projname] [-P profile [,profile...]] [-R role [,role...]] [-s shell] [-u uid [-o]] login useradd -D [-A authorization [,authorization...]] --- 7,17 ---- SYNOPSIS useradd [-A authorization [,authorization...]] [-b base_dir] [-c comment] [-d dir] [-e expire] [-f inactive] [-g group] [-G group [,group]...] ! [-K key=value] [-m [-z|-Z] [-k skel_dir]] [-p projname] [-P profile [,profile...]] [-R role [,role...]] [-s shell] [-u uid [-o]] login useradd -D [-A authorization [,authorization...]]
*** 187,201 **** that can be copied into a new user's home directory. This directory must already exist. The system provides the /etc/skel directory that can be used for this purpose. ! -m Create the new user's home directory if it does not already exist. If the directory already exists, it must have read, write, and execute permissions by group, where group is the user's primary ! group. -o This option allows a UID to be duplicated (non-unique). --- 187,207 ---- that can be copied into a new user's home directory. This directory must already exist. The system provides the /etc/skel directory that can be used for this purpose. ! -m [-z|-Z] Create the new user's home directory if it does not already exist. If the directory already exists, it must have read, write, and execute permissions by group, where group is the user's primary ! group. CHANGE_ZFS_FS option in /etc/default/useradd file ! determines if ZFS filesystem will be created for new user. If this ! option is set to yes and parent directory of user's home directory ! is ZFS filesystem mount point, a new ZFS filesystem is created. -z ! and -Z options allow overwrite default behavior. If -z option is ! specified, useradd tries to create new file system for user. If -Z ! option is specified, new file system is not created. -o This option allows a UID to be duplicated (non-unique).