Adding a Linux user

Last Updated : Oct 05, 2021 |

About this task

You can also use the AE Services management console to add a Linux user. AE Services recommends using the Security Administration pages. For more information see Adding a local Linux account for an administrator - sample.

Use this procedure add a Linux user with access privileges to AE Services Management Console. The user you add in this procedure will be added to two Linux groups, susers and securityadmin. As a result, this user will be assigned two roles: System Administrator and Security Administrator. For more information about access privileges, see AE Services administrative roles and access privileges (role based access control - RBAC.

Procedure

  1. Do one of the following:
    1. If you have the Bundled Server offer, log in with your user account (username: cust; password custpw) and then become the superuser (su - sroot).
    2. If you have the Software-Only offer, log in as root.
  2. To add a user with the same permissions as the cust user, run the following command:

    useradd -g susers -G securityadmin <username>

    The useradd command is equivalent to the adduser command. You can use either command with the same arguments.

  3. To display the password prompt, run the following command:

    passwd <username>

  4. At the password prompt, enter a password.
  5. When prompted, re-enter the password.
  6. Log out and then log in with the new user name and password.
  7. To delete the cust account, in the command line interface, run the following command:

    userdel cust