💾 Archived View for freeshell.de › tldr › runuser.gmi captured on 2022-04-28 at 19:28:46. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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).