How To Make a User In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Open a terminal window by pressing the Ctrl + Alt + T keys.
2. Issue the command “sudo adduser <username>” to create a new user. Replace <username> with the user you want to create.
3. Enter and confirm the password for the new user when prompted.
4. Enter any additional information about the user such as their name, etc.
5. Issue the command “sudo usermod –aG sudo <username>” to give the new user administrative privileges. Replace <username> with the user you just created.
6. Log out or switch users to log in to the new account.