homectl
TLDR
List user accounts and home directories
SYNOPSIS
homectl [command] [options] [user]
DESCRIPTION
homectl manages user accounts and home directories via systemd-homed, a systemd service that provides portable, encrypted home directories.
systemd-homed stores user accounts as self-contained records with their home directories. Home directories can be encrypted (LUKS), enabling security features like automatic locking on suspend and portable home directories that can be moved between machines.
Features include:
- Encrypted home directories
- Automatic locking on suspend/idle
- Disk quota management
- Portable home directories
PARAMETERS
list
List managed home directoriescreate USER
Create new user with home directoryremove USER
Remove user and home directorypasswd USER
Change user passwordwith USER -- CMD
Run command with access to user's homelock USER
Lock home directory (deactivate)unlock USER
Unlock home directory (activate)resize USER SIZE
Change home directory sizeinspect USER
Show user record detailsupdate USER
Update user properties--storage=TYPE
Storage type: luks, directory, subvolume, fscrypt, cifs
CAVEATS
Requires systemd-homed service. Not compatible with traditional /etc/passwd management. Some services may not work correctly with homed users. LUKS homes require unlocking at login.
HISTORY
homectl and systemd-homed were introduced in systemd 245 (2020) by Lennart Poettering. They represent a modern approach to Linux user management with built-in encryption and portability features.
SEE ALSO
useradd(8), usermod(8), loginctl(1), systemd-homed(8)


