Working with User Accounts

useradd

Create a new account

userdel

Delete an account

usermod

Modify an account

passwd

Change a password

chfn

Change a user’s personal information

chsh

Change a user’s shell

The Fedora installer prompts you to create two accounts, one for the superuser and one for an ordinary user (presumably yourself). But you might want to create other accounts, too.

Creating users is an important job not to be taken lightly. Every account is a potential avenue for an intruder to enter your system, so every user should have a strong, hard-to-guess password, and should change it regularly.

Get Linux Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.