diff --git a/pages/linux/pkexec.md b/pages/linux/pkexec.md new file mode 100644 index 0000000000..5d35bec0f4 --- /dev/null +++ b/pages/linux/pkexec.md @@ -0,0 +1,17 @@ +# pkexec + +> Execute commands as another user. +> Asks for password in a GUI if available. +> More information: . + +- Run command as root: + +`pkexec {{command}}` + +- Switch user to root: + +`pkexec` + +- Run command as a specific user: + +`pkexec --user {{username}} {{command}}`