KP Solutions

Solutions for Day to Day Technical Problems

How to add a user to a group?

| 0 comments

I keep on forgetting this command, so I put it here to remember it forever. To add a user ‘ketan’ to the group ‘admin’, do the following

gpasswd -a ketanĀ  admin

Such a simple and each to use command!!!