homectl
Create, remove, change, or inspect home directories using the systemd-homed service. tldr-pages
On Linux
Linux
List user accounts and their associated home directories
homectl listIdentifyCreate a user account and their associated home directory
sudo homectl create usernameIdentifyRemove a specific user and the associated home directory
sudo homectl remove usernameIdentifyChange the password for a specific user
sudo homectl passwd usernameIdentifyRun a shell or a command with access to a specific home directory
sudo homectl with username -- command command_argumentsIdentifyLock or unlock a specific home directory
sudo homectl lock usernameIdentifyChange the disk space assigned to a specific home directory to 100 GiB
sudo homectl resize username 100GIdentifyDisplay help
homectl --helpIdentify