Open dshoreman opened 1 year ago
When creating a user, it will still have its home directory set to /home/<user> even though it doesn't actually get created.
/home/<user>
Not sure if this is a missing -M/-r or something setting the homedir automatically, but a sample POST to /api/system/users is blow.
-M
-r
POST
/api/system/users
{ "uid": null, "gid": "100", "name": "ble", "groups": [], "shell": "/bin/zsh", "create_home": false, "user_group": false, "uid_original": null }
When creating a user, it will still have its home directory set to
/home/<user>
even though it doesn't actually get created.Not sure if this is a missing
-M
/-r
or something setting the homedir automatically, but a samplePOST
to/api/system/users
is blow.