linux Add or remove user from group

How can I add or remove user from group in linux / ubuntu /debian system.

 To create a user enter:

$ sudo adduser username


 To create a GROUP enter:

$ sudo groupadd groupname

 To Add user from GROUP enter:

$ sudo adduser username group name

To Remove User from GROUP enter:

$ sudo deluser user group

No comments:

Post a Comment

how to call ssh from vs code

 To call SSH from VS Code, you can use the built-in Remote Development extension. This extension allows you to open a remote folder or works...