Changing users

You can use the command-line interface (CLI) or the management GUI to change users on the system.

System users must provide either a password, a Secure Shell (SSH) key, or both. Local users are authenticated through the authentication methods that are on the system.

You can create two categories of users that access the clustered system (system). These user types are based on how they authenticate to the system:
  • Some users must provide an SSH password (or if not possible an SSH key).
  • If a user needs access to the management GUI, a password is needed for the user.
  • If the user requires access to the command-line interface (CLI), a valid password and SSH key can be used.
  • Users must be part of a user group that is defined on the system.

Remote users should also configure local credentials if they need to access the system when the remote service is down. Remote users have their groups that are defined by the remote authentication service.

To change a user in the management GUI, select Access > Users. Right-click the user and select Modify from the Actions menu.

To change a user in the CLI, follow these steps:

  1. Issue the chuser CLI command to change the attributes of an existing user.
    For example:
    chuser -usergrp group_id_or_nameuser_id_or_name
    where the group_id_or_name specifies the new group for the user and user_id_or_name specifies the user to be changed.
  2. Issue the chcurrentuser CLI command to change the attributes of the current user.
    For example:
    chcurrentuser -nokey
    where the nokey parameter specifies that the SSH key of the user is to be deleted.
  3. Issue the lscurrentuser CLI command to display the name and role of the logged-in user.
    For example:
    lscurrentuser 

    The name and the role of the user are displayed.