Skip to content

Instantly share code, notes, and snippets.

@makruger
Last active August 30, 2016 13:47
Show Gist options
  • Select an option

  • Save makruger/e2f5c45965e9e7c578df00dbdf4a6f01 to your computer and use it in GitHub Desktop.

Select an option

Save makruger/e2f5c45965e9e7c578df00dbdf4a6f01 to your computer and use it in GitHub Desktop.
Useradd caveats

With ZFS and automounted home directories, we cannot do a simple useradd -m <username>. Instead we must do something like this:

useradd -d /export/home/<username> -m <username>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment