Tag Archives: groupadd

Linux: Add existing user to a group

usermod -a -G wheel cyrus cyrus is in group cyrus, to add cyrus to another group use the -a option. If you only use -G option only, cyrus will transfer group from cyrus to wheel. Advertisements

Posted in Linux, System OS | Tagged , | Leave a comment

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 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 … Continue reading

Posted in Linux, Security, System OS | Tagged , , , | Leave a comment