noticket - updates, cleanup, housekeeping
This commit is contained in:
@@ -107,7 +107,7 @@ Tasks are tagged by service/component for selective deployment:
|
||||
|
||||
The `podman` user (and other service users) have `/bin/nologin` as their shell. To run commands as these users via SSH:
|
||||
|
||||
- **One-off commands**: `sudo -H -u podman bash -c 'command here'`
|
||||
- **One-off commands**: `sudo -H -u podman bash -c 'cd; command here'` — the `cd;` preamble is REQUIRED (it moves into the podman user's home so podman finds its rootless storage/config; without it commands fail). Replace `command here` with whatever you need to run.
|
||||
- **Interactive shell**: `sudo -H -u podman bash -c 'cd; bash'`
|
||||
- **systemctl --user** requires `XDG_RUNTIME_DIR`:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user