Starman
2010-05-31 16:21:47 UTC
Hello:
On a server with UFS filesystems, I created user accounts as follows:
1) useradd -u <uid> -g <gid> -s /bin/<shell> -d /export/home/<new
user>
2) mkdir /export/home/<new user>
3) chown <new user>:group /export/home/<new user>
4) chmod 700 /export/home/<new user>
(umask is 077 in /etc/default/login).
On a new server, I want the home directories of users to be ZFS
filesystems; what is the order of the operations: useradd first, then
zfs create ? How are ownership and permissions of the
filesystem established ? A user filesystem should only be accessible
by that user.
On a server with UFS filesystems, I created user accounts as follows:
1) useradd -u <uid> -g <gid> -s /bin/<shell> -d /export/home/<new
user>
2) mkdir /export/home/<new user>
3) chown <new user>:group /export/home/<new user>
4) chmod 700 /export/home/<new user>
(umask is 077 in /etc/default/login).
On a new server, I want the home directories of users to be ZFS
filesystems; what is the order of the operations: useradd first, then
zfs create ? How are ownership and permissions of the
filesystem established ? A user filesystem should only be accessible
by that user.