≡ Menu

account creation

Linux Change Default User Home Directory While Adding A New User

By default base directory for the system user is set to /home directory. I'd like to add user to /iscsi/home/${user} directory instead of the default /home. How do I force useradd command to add user to /iscsi/home under CentOS / RHEL / Fedora Linux server?
[click to continue…]