💾 Archived View for freeshell.de › tldr › runuser.gmi captured on 2023-06-14 at 15:09:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

runuser

Run commands as a specific user and group without asking for password (needs root privileges).

More information.

runuser {user} -c '{command}'
runuser {user} -g {group} -c '{command}'
runuser {user} -l
runuser {user} -s {/bin/sh}
runuser {user} --preserve-environment -c '{command}'
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY