p4 help sudo ============================================================================== sudo -- Run a command with elevated privileges (P4Sudo) p4 sudo [options] [arguments] p4 sudo help p4 sudo help DESCRIPTION The 'p4 sudo' command allows authorized P4 users to run specific commands with elevated server privileges, or to execute site-defined administrative commands, without requiring full P4 super-user access for their normal account. Authorization is governed by the site configuration file: /p4/common/site/config/p4sudo.cfg Authentication is required. You must have a valid P4 ticket (i.e., be logged in via 'p4 login') before invoking any 'p4 sudo' command. Two categories of subcommands are available: 1. ELEVATED NATIVE COMMANDS Standard P4 commands that your account normally lacks permission to run (e.g., 'protect', 'depot', 'group') can be invoked through 'p4 sudo' if your site configuration permits it. 2. SITE-DEFINED COMMANDS Custom administrative commands written by your site team and deployed under 'p4 sudo'. These are not native 'p4' commands. USAGE p4 sudo [subcommand-specific options and arguments] p4 sudo help p4 sudo help EXAMPLES p4 sudo help p4 sudo help mkproj p4 sudo mkproj myteam-widget p4 sudo mkproj myteam-widget --template standard --owner jsmith p4 sudo archive //depot/legacy/... --before 2022/01/01 --dry-run p4 sudo archive //depot/legacy/... --before 2022/01/01 p4 sudo protect NOTES - Only accessible through the 'p4' CLI connected to the broker port. - Not available in P4V or other GUI clients. - Contact your P4 administrator to request access. SEE ALSO p4 help login p4 help protect p4 sudo help