Even such venerable tools like useradd could use some extra features. In a recent SRU an option was added to set a default how the home directory is created. You have three options.
create is as a subdirectory
create it as an own zfs filesystem for the user
create it as an own zfs filesystem for the user and delegate the filesystem to the user.
Let’s try this out. When you chose yes, the home directory is created as it’s own home directory.
Now i create a user with this defaults:
There is an own zfs filesystem for the homedirectory of user usera
And if you check for the delegations, you will see that permissions have been passed to the user usera
Okay, now let’s try it with the setting nodelegation
I create another user.
An own ZFS filesystem is still created.
However when checking for delegations, there will be none.
Okay. Last option to this setting. no tells the system not to create an ZFS filesystem for the user.
Okay, yet another user.
There is no separate ZFS filesystem for this user.
Instead the home directory has just been created as a normal directory.
And of course there are no delegations because there is no ZFS filesystem for this user.
As i had quite a fight with a larger IKEA PAX closet for my bedroom, i hadn't quite the time to complete the ZFS retention article so far. Thus today a small...
Another rather small change that was introduces to Solaris 11 in SRU 66. Up to SRU65 the precision of the timestamps in the logfile was seconds.
Jul 5...
Yet another small addition to Solaris 11.4. This one was released with SRU 57. `reboot`, `shutdown` and `poweroff` got a new option. With `-c` you can now s...