articles:general:computing:linux:linux_user_management

Linux User Management

Here is a summary of all the commands required to manage users and groups

Add Delete Check list /info
User adduser john deluser john id john
cat /etc/passwd | grep bash
Group groupadd sales groupdel sales cat /etc/group
Add user to group Delete user from group
usermod -a -G sales john usermod -r -G sales john
gpasswd -d john sales
  • Last modified: 2023/06/10 00:10