
runuser
List of commands for runuser:
-
runuser:tldr:118f4 runuser: Run command as a different user and group.$ runuser ${user} -g ${group} -c '${command}'try on your machineexplain this command
-
runuser:tldr:14c38 runuser: Start a login shell as a specific user.$ runuser ${user} -ltry on your machineexplain this command
-
runuser:tldr:4e679 runuser: Preserve the entire environment of root (only if `--login` is not specified).$ runuser ${user} --preserve-environment -c '${command}'try on your machineexplain this command
-
runuser:tldr:c6882 runuser: Run command as a different user.$ runuser ${user} -c '${command}'try on your machineexplain this command
-
runuser:tldr:fc57f runuser: Specify a shell for running instead of the default shell (also works for login).$ runuser ${user} -s ${-bin-sh}try on your machineexplain this command