runuser Verified for current stable LTS

Runuser Command: Preserve Entire Environment Of Root

Use for preserve entire environment of root with Runuser. Exact CLI syntax to preserve entire environment of root using Runuser.

When to use this: Use for preserve entire environment of root with Runuser.

Command Syntax

sudo runuser <user> -p -c '<command>'

Live Command Builder

Final Command

sudo runuser <user> -p -c '<command>'

Command Breakdown

-p
Command Option
Tool-specific option used by this command invocation.
-c
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to preserve entire environment of root using Runuser.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Runuser directory