Print

Adding a Linux user

About this task

This procedure is provided as an alternative to using 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 Adminstrator 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. Type useradd -g susers -G securityadmin username to add a user name with the same roles as the cust user.
    tipTip

    The useradd and adduser commands are equivalent. You can use either command, and both commands accept the same arguments.

  3. Type passwd username to display the password prompt.
  4. At the password prompt, type a password, and press Enter.
  5. At the prompt to re-enter your password, type the password again, and press Enter.
  6. Log out, and then log in with the new user name and password.
  7. From the command line, type userdel cust to delete the cust account.