Create or Change User Accounts

The Accounts page in the web console provides configurable properties that enable Cockpit administrators to manage user access on the host system. Upon accessing the Accounts page, a list of user accounts that are configured with management access appear. At a minimum, the root user account appears on the Accounts page.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to manage user access on the host system.

  1. Click Accounts in the Cockpit navigation pane.

    The Accounts page appears.

  2. In the Account page, perform one of the following:
    • Add a New User Account - In the Accounts page, perform the following:
      1. Click Create new account. The Create new account dialog appears.
      2. In the Create new account dialog, specify the following properties and then click Create.
      Full name Enter the full name of the user.
      User Name Enter the account log in name for the user.
      Password Enter and confirm the account password for the user.
    • Edit an Existing User Account - In the Accounts page, click an existing account name and change any of the following properties as needed, then click Save.
      User Name Edit to change how the display name for the user appears.
      Groups In the Groups drop-down list box, select the applicable group(s) that you want to assign to the user account.

      Note:

      A group is an entity which ties together multiple user accounts for a common purpose, such as granting access to particular files.
      Options Click Edit to set the account expiration properties. In the Account Expiration dialog, click one of the following:
      • Never Expire account. Enabled by default.

        -OR-

      • Expire account YYYY-MM-DD. Set a date for when the user account should expire. This option is helpful when managing a temporary user.
      Password Set the applicable Password properties:
      • Never expire password. Enabled by default. Click Edit to require the user to change the password within a defined number of days.
      • Set Password. Select to change the existing user password.
      • Force password. Select to require the user to enter a new password at next sign in.
      Add Keys Click Add Keys to assign authorized SSH public keys to the user account. For example:
      1. In the Add Keys dialog, paste the contents of the public key file into the text box and click Add.

        The newly added public key assigned to the user account appears in the Authorized Public SSH Keys section of the Account page.

      2. To verify or change the private key path, select SSH Keys from the Session drop down menu. Choose to accept the default path or manually select a different path and click ADD.
      3. Click the SSH Key On/Off toggle to enable the key and, when prompted, provide the SSH password.