Creating a New Sudo User
- Open the terminal.
-
Execute the following command:
adduser <UserName>Note: Replace the UserName with the new user's name. -
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.
