Home  >  Article  >  Computer Tutorials  >  How to enable administrative access from the cockpit web UI

How to enable administrative access from the cockpit web UI

王林
王林forward
2024-03-20 18:56:05519browse

Cockpit is a web-based graphical interface for Linux servers. It is mainly intended to make managing Linux servers easier for new/expert users.

In this article, we will discuss Cockpit access modes and how to switch administrative access to Cockpit from the Cockpit Web UI.

Content topic:

  1. Cockpit entry mode
  2. Find current cockpit access mode
  3. Enable administrative access to Cockpit from the Cockpit Web UI
  4. Disable administrative access to Cockpit from the Cockpit Web UI
  5. in conclusion

Cockpit entry mode

The cockpit has two access modes:

  • Restricted Access: This is the default access mode for the cockpit. In this access mode, you cannot configure your Linux server from the Cockpit web user interface; you can only monitor your Linux server.
  • Administrative Access: In this mode, you can monitor and configure the Linux server from the Cockpit Web UI.

Find current cockpit access mode

Cockpit access mode is displayed in the upper right corner of the cockpit web user interface. Currently enabled by default is "Restricted Access" mode, which limits your ability to configure your Linux server on the Cockpit web UI.

How to enable administrative access from the cockpit web UI

Enable administrative access to Cockpit from the Cockpit Web UI

To configure your Linux server from the Cockpit web UI, you must enable "Administrative Access" mode for Cockpit from the Cockpit web UI.

To enable "Administrative Access" mode on the cockpit, click "Restrict Access" in the upper right corner of the cockpit web UI, as shown in the following screenshot:

How to enable administrative access from the cockpit web UI

Enter the password of your login user [1], and then click "Authentication" [2].

Please note: To perform this operation, the logged in user must have sudo permissions. Normally, users created when installing operating systems such as Fedora, Ubuntu, or Debian automatically receive sudo privileges.

How to enable administrative access from the cockpit web UI

The access mode of the cockpit should be changed to administrative access, as shown in the following screenshot:

How to enable administrative access from the cockpit web UI

Now you can manage storage, networking, firewalls, packages, system maintenance, and more from the Cockpit Web UI.

How to enable administrative access from the cockpit web UI

Disabling administrative access to Cockpit from the Cockpit Web UI

To enable "Restricted Access" mode on the cockpit again, click "Manage Access" in the upper right corner of the cockpit web UI, as shown in the following screenshot:

How to enable administrative access from the cockpit web UI

Click "Restrict Access".

How to enable administrative access from the cockpit web UI

"Restricted Access" mode should be enabled on the cockpit. You should now be unable to make any configuration changes to your Linux server from the Cockpit Web UI.

How to enable administrative access from the cockpit web UI

in conclusion

In this article, we discussed the "Limited Access" and "Managed Access" modes of the cockpit. We also covered how to toggle the Cockpit's "Restricted Access" and "Administrative Access" modes in the Cockpit Web UI.

The above is the detailed content of How to enable administrative access from the cockpit web UI. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete