Skip to content

Using Privileges

William edited this page Nov 20, 2024 · 3 revisions

Privileges Banner

Using Privileges

How to request admin rights

If you are a standard user and want admin rights, verify that Privileges is installed. Then follow the steps below:

  1. Launch Privileges.
  2. You should see the following window:

RequestPrivilegesWindow

  1. Click on Request Privileges.
  2. The Privileges dock icon should change to look like an orange padlock. A notification should appear, saying that "administrator privileges were successfully granted". The looged-in account should have admin rights.

Note: You can also request privileges via the app icon in the dock. Simply right-click the icon and select Request Privileges.

How to revert admin rights

  1. Launch Privileges.
  2. You should see the following window:

Revert Privileges

  1. Click on Revert Privileges.
  2. The Privileges dock icon should change to look like a green locked padlock. A notification should appear, saying that "administrator privileges were successfully revoked". The logged-in account should have standard rights.

Note: You can revert privileges via the app icon in the dock. Simply right-click the icon and select Revert Privileges.

Privileges Settings

Choose time after which privileges expire

Administrator rights can expire after a certain time. You can choose between the following times after which the rights should expire:

  • 5 minutes
  • 10 minutes
  • 20 minutes
  • 30 minutes
  • 1 hour
  • Never

If you have selected a time, a countdown will start once administrator rights have been granted. The countdown is displayed on the icon in the dock. It should look like this:

Revoke administrator rights at login

To ensure that you are always a standard user after a restart, Privileges can automatically revoke administrator rights privileges after a restart.

Hide windows of other applications

By default, Privileges hides the windows of other applications to display the desktop and ensure that only the Privileges window is visible on the screen. You can disable this option in the settings.

Run an action after privilege change

You can select an application or script that runs after privileges have changed. Alternatively, you can specify that the application or script should only run after privileges have been granted. See a quick demo below:

How to use Privileges from the command line

Privileges supports command line use. To use the PrivilegesCLI command line tool, run PrivilegesCLI. The following window should appear: