Hello,
I would like to remove home directory for some users accounts (which are used as service like docker user account), because I've enable "User home directory" in OVM ("Settings" tab of "Acces Rights Management > User"). and I've enable "Home directories" in SMB ("Services > SMB/CIFS") too.
What is the good way to it in OMV?
I didn't see option in OMV GUI, then I've manualy modified /etc/passwd file.
I've tried two way:
- removing home directory path (username:x:UID:GID:Comment::/usr/sbin/nologin)
- replacing home directory path by /nonexistent (username:x:UID:GID:Comment:/nonexistent:/usr/sbin/nologin)
Is there a best way between them?
I've checked result after updating OMV or creating a new user account, and changes on /etc/passwd file stay present.
FYI if "User home directory" is disable/enable in OVM ("Settings" tab of "Acces Rights Management > User"), all changes on /etc/passwd file are removed.
Thank you,
Chris