Last active
December 15, 2024 19:37
-
-
Save mz0/281d762000b1fd47ea1708b3efe98255 to your computer and use it in GitHub Desktop.
Ubuntu 24.04 setting up user with systemd-homed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-cache policy systemd-homed | |
| # systemd-homed: Candidate: 255.4-1ubuntu8.4 | |
| sudo apt install systemd-homed | |
| # The following NEW packages installed: systemd-homed systemd-userdbd | |
| sudo homectl --real-name=ZM \ | |
| --uid=60131 \ | |
| --kill-processes=false \ | |
| --member-of=docker,dip,lpadmin,plugdev,ops,sudo,users,wireshark \ | |
| --ssh-authorized-keys=@/path/to/zm.id_ed25519.pub \ | |
| --ssh-authorized-keys=@/path/to/zm.id2.pub \ | |
| --storage=luks \ | |
| --fs-type=ext4 \ | |
| --disk-size='1%' \ | |
| create zm |
Author
mz0
commented
Dec 14, 2024

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment