Operations a UserMgmt.sh administrator can perform

上次更新时间 : Oct 16, 2023 |

About this task

You can add a new administrator with equal privileges, remove an administrator, and update the administrator password. The newly added administrator does not have the privilege to execute UserMgmt.sh.

Before you begin

Ensure to log in to UserMgmt.sh.

Procedure

  1. Open UserMgmt.sh terminal window.
  2. To add a new administrator user, run the command: sudo /opt/Avaya/bin/sys/userMgmt.sh useradd <username>

    Replace <username> with the username of the administrator you want to add.

  3. To remove an administrator user, run the command: sudo /opt/Avaya/bin/sys/userMgmt.sh userdel <username>

    Replace <username> with the username of the administrator of whom you want to remove.

  4. To update the password of the administrator, run the command: sudo /opt/Avaya/bin/sys/userMgmt.sh chpasswd <username>

    Replace <username> with the username of the administrator you want to change the password.

    When you attempt to run userMgmt.sh as the new administrator, an error message indicates that you do not have permission to run UserMgmt.sh utility.

    If you enter any invalid inputs or errors, UserMgmt.sh provides informative error messages to guide you.