dshoreman / servidor

A modern web application for managing servers
GNU Lesser General Public License v2.1
9 stars 11 forks source link

New users always get a home directory #561

Open dshoreman opened 1 year ago

dshoreman commented 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.

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.

{
    "uid": null,
    "gid": "100",
    "name": "ble",
    "groups": [],
    "shell": "/bin/zsh",
    "create_home": false,
    "user_group": false,
    "uid_original": null
}