Skip to content

Commit 7741e04

Browse files
podman-systemd.unit.5: document /sbin/nologin accounts
Add command: sudo systemctl --machine username@ --user list-unit-files Fixes: #27544 Co-authored-by: Tom Sweeney <[email protected]> Signed-off-by: Erik Sjölund <[email protected]>
1 parent f526c37 commit 7741e04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/markdown/podman-systemd.unit.5.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ The Podman generator reads the search paths above and reads files with the exten
5151
`.volume`, `.network`, `.build`, `.pod`, `.kube`, and `.artifact`, and for each file generates a similarly named `.service` file. Be aware that
5252
existing vendor services (i.e., in `/usr/`) are replaced if they have the same name. The generated unit files can
5353
be started and managed with `systemctl` like any other systemd service. `systemctl {--user} list-unit-files`
54-
lists existing unit files on the system.
54+
lists existing unit files on the system. To list unit files of a user who has `/sbin/nologin` as a login shell,
55+
run `sudo systemctl --machine username@ --user list-unit-files`.
5556

5657
The Podman files use the same format as [regular systemd unit files](https://www.freedesktop.org/software/systemd/man/systemd.syntax.html).
5758
Each file type has a custom section (for example, `[Container]`) that is handled by Podman, and all

0 commit comments

Comments
 (0)