Definition:

  • Allows an authorized user to execute PROGRAM as another user.
    • If username is not specified, then the program will be executed as the administrative super user, root.
  • ex: sudo pkexec useradd hr

Synopsis

  • pkexec [--user username] PROGRAM [ARGUMENTS...]