How Do I Create a New Admin Account in Linux?
Contents

How do I give myself admin rights in Linux?

To use this tool, you need to issue the command sudo -s and then enter your sudo password. Now enter the command visudo and the tool will open the /etc/sudoers file for editing). Save and close the file and have the user log out and log back in. They should now have a full range of sudo privileges.

How do I create an admin account in Ubuntu?

Create a sudo user using GUI

  1. To create a new user on Ubuntu GNOME Desktop, first open SETTINGS window. Next navigate to About->Users menu. …
  2. Enter your administrative password.
  3. Hit Add user… button in order to create a new user.
  4. Select Administrator account type to automatically add user to sudo group. …
  5. All done.
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest