mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-08-22 03:43:16 +02:00
add system
Add user to a group (e.g add user 'nice' to the group 'docker', so that he can run docker without sudo)
This commit is contained in:
@ -1835,4 +1835,9 @@ users
|
|||||||
```bash
|
```bash
|
||||||
w
|
w
|
||||||
```
|
```
|
||||||
|
##### Add user to a group (e.g add user 'nice' to the group 'docker', so that he can run docker without sudo)
|
||||||
|
```bash
|
||||||
|
sudo gpasswd -a nice docker
|
||||||
|
```
|
||||||
|
|
||||||
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
||||||
|
Reference in New Issue
Block a user