From 318b9086372e7164a2d35694a40f1be35c7f9468 Mon Sep 17 00:00:00 2001 From: EphemeralDev <115334775+EphemeralDev@users.noreply.github.com> Date: Sat, 25 Jan 2025 14:52:42 -0500 Subject: [PATCH] fix @ctuser setup --- ubuntu.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ubuntu.md b/ubuntu.md index 645dda8..37063d0 100644 --- a/ubuntu.md +++ b/ubuntu.md @@ -128,9 +128,13 @@ loginctl enable-linger $ctuser > > [reddit post](https://old.reddit.com/r/linuxadmin/comments/rxrczr/in_interesting_tidbit_i_just_learned_about_the/) +Install systemd-container +`sudo apt install systemd-container` + ```bash # Switch to $ctuser -machinectl shell $ctuser +# Note do not remove the trailing @ +machinectl shell $ctuser@ /bin/bash # Create dirs mkdir -p ~/.config/{containers/systemd,environment.d} ~/containers/storage # Prepare `systemd --user` env