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.

 

Advertisements
This entry was posted in Linux, Security, System OS and tagged , , , . Bookmark the permalink.

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

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

Twitter picture

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

Facebook photo

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

w

Connecting to %s