Home Linux - Create User
Post
Cancel

Linux - Create User

Create user with the command sudo useradd --create-home usery.

What default values do they get?

Execute: useradd -D

Output

1
2
3
4
HOME=/home/usery
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash

Docs: https://linuxcommandlibrary.com/man/useradd

This post is licensed under CC BY 4.0 by the author.

Linux - Add user to sudoers

Linux - show OS details