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

From GlassTTY
Jump to: navigation, search
(Created page with "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 Log in as root (...")
(No difference)

Revision as of 17:32, 18 October 2017

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

Log in as root (or su) and change the root password

  $ passwd

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

  userdel -r pi