Creating a New Sudo User

  1. Open the terminal.
  2. Execute the following command:
    adduser <UserName>
    Note: Replace the UserName with the new user's name.
  3. To create a password for the new user, execute the following command:
    passwd <Password>
    The system prompts you to set and confirm a password for your new user account. If successful, the system responds with “all authentication tokens updated successfully.”
    Note: A strong secure password has more characters and a few special characters (such as numbers, symbols, or capitals). Ensure that you are choosing an appropriately strong password for your system.