Difference between revisions of "Add a User (Arch Linux)"

From GlassTTY
Jump to: navigation, search
m
 
Line 9: Line 9:
 
Once the new user has been tested, any predefined default user can be deleted e.g.
 
Once the new user has been tested, any predefined default user can be deleted e.g.
  
   userdel -r pi
+
   userdel -r <user>

Latest revision as of 15:24, 15 April 2019

Create a new user

  $ useradd -m -G wheel -s /bin/bash john

If not asked to enter a password log in as root (or su) and set the password

  $ passwd john

Once the new user has been tested, any predefined default user can be deleted e.g.

  userdel -r <user>