💾 Archived View for freeshell.de › tldr › runuser.gmi captured on 2023-09-28 at 16:52:50. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Run commands as a specific user and group without asking for password (needs root privileges).
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).