Users and groups
Linux
Create user
Delete user
userdel [user]
# -r = remove home folder - NEVER DO IT !!!
# Were next cases:
# 1) /var/www stored in user home directory
# 2) /home/user has content of working www site
Lock/Unlock user
Add/Remove users to group
# Add existing user to existing group
usermod -aG [group] [user]
# ... or
gpasswd -a [user] [group]
# Remove user from group
usermod -rG [group] [user]
# ... or
gpasswd -d [user] [group]
Change shell for user
FreeBSD
Remove user
Block/Unblock user
Groups
Change shell for user