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

*** 4,29 **** NAME userdel - delete a user's login from the system SYNOPSIS ! userdel [-r] login DESCRIPTION The userdel utility deletes a user account from the system and makes the appropriate account-related changes to the system file and file system. OPTIONS The following options are supported: ! -r Remove the user's home directory from the system. This directory must exist. The files and directories under the home directory will no longer be accessible following successful execution of ! the command. OPERANDS The following operands are supported: --- 4,35 ---- NAME userdel - delete a user's login from the system SYNOPSIS ! userdel [-r [-z|-Z]] login DESCRIPTION The userdel utility deletes a user account from the system and makes the appropriate account-related changes to the system file and file system. OPTIONS The following options are supported: ! -r [-z|-Z] Remove the user's home directory from the system. This directory must exist. The files and directories under the home directory will no longer be accessible following successful execution of ! the command. CHANGE_ZFS_FS option in /etc/default/useradd file ! determines if ZFS filesystem underlying user home directory will ! be destroyed. If user's home directory is a ZFS file system and ! CHANGE_ZFS_FS option is set to yes, the filesystem will be ! destroyed. -z and -Z options allow overwrite default behavior. ! If -z option is specified, userdel tries to destroy file system. ! If -Z option is specified, file system is not destroyed. OPERANDS The following operands are supported:
*** 59,68 **** --- 65,78 ---- 12 Cannot remove or otherwise modify the home directory. FILES + /etc/default/useradd + useradd, usermod and userdel configuration file + + /etc/passwd system password file /etc/shadow