runuser命令

Searching…

www.man7.org

runuser (1) — Linux manual page - man7.org

runuser can be used to run commands with a substitute user and group ID. If the option -u is not given, runuser falls back to su -compatible semantics and a shell is executed.

www.cyberciti.biz

Linux Run Command As Another User - nixCraft

Aug 16, 2025 · 1. Using Linux runuser command as another user The runuser command run a shell with substitute user and group IDs. This command is useful only when run as the root user: Only session PAM hooks are run, ...

linux.die.net

runuser (1) - Linux man page

Synopsis runuser [OPTION]... [-] [USER [ARG]...] Description Change the effective user id and group id to that of USER. Only session PAM hooks are run, and there is no password prompt. This command is useful only when...

commandmasters.com

How to Use the Command 'runuser' (with Examples)

Dec 17, 2024 · The runuser command in Linux allows the execution of commands with an alternate user identity without requiring the user to input a password. This capability can be particularly useful for system admini...