Skip to content

Latest commit

 

History

History
25 lines (25 loc) · 282 Bytes

linux_users.md

File metadata and controls

25 lines (25 loc) · 282 Bytes

User

Current user

id

See user info

cat /etc/passwd

User groups

groups <user>

Group

Add group

sudo groupadd <grp>

Add existing user to a group

sudo usermod -aG <grp> <user>

chmod

Add write permissions to file group chmod -R g+rwx