-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
There's a bit missing from these examples on my system, Ubuntu.
Firstly, I had to install podman (seems obvious) but also systemd-container for machinectl.
Next, I wonder if useradd is different in Fedora perhaps, because running it as shown doesn't create a home directory for the new user unless you specify -m.
adduser does create the home directory by default but then you need to coax it not to ask for a password, etc.
Also, relatedly, while we need a shell to execute with machinectl, does linger require it? Could we possibly set the shell to /sbin/nologin or /bin/false as we might do with system accounts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels