Add a User (Arch Linux)

From GlassTTY
Revision as of 15:24, 15 April 2019 by John (talk | contribs)
(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

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

  userdel -r <user>