Arch Linux: Add group and add normal user

Add a group

groupadd cyrus -g 1000

To verify: cat /etc/group

Add user and put to group cyrus

useradd cyrus

user creation

Verify the account

cat /etc/passwd

Understand the sequence of passwd file

username:password:UID:GID:Name:Home directory:shell

Clear text password does not store in /etc/passwd, password is salted and hashed and stored in /etc/shadow file.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s