Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example with -pPAMName=login #1

Open
eriksjolund opened this issue Jun 6, 2023 · 0 comments
Open

Add an example with -pPAMName=login #1

eriksjolund opened this issue Jun 6, 2023 · 0 comments

Comments

@eriksjolund
Copy link
Owner

Add an example of how to use

systemd-run -pPAMName=login -pUser=test ...

Something like

sudo useradd test
uid=$(id -u test)
sudo systemd-run \
  --property User=test \
  --property PAMName=login \
  --collect \
  --pipe \
  --quiet \
  --wait \
  podman run --quiet --rm alpine echo hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant