Add a User (Arch Linux)

From GlassTTY
Revision as of 17:32, 18 October 2017 by John (talk | contribs) (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 (...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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