mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 20:49:40 +00:00
Update cheatsheets
This commit is contained in:
@@ -25,6 +25,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo usermod {{[-aG|--append --groups]}} {{group1,group2,...}} {{username}}`
|
||||
|
||||
- Remove a user from specific groups:
|
||||
|
||||
`sudo usermod {{[-rG|--remove --groups]}} {{group1,group2,...}} {{username}}`
|
||||
|
||||
- Change a user home directory:
|
||||
|
||||
`sudo usermod {{[-m|--move-home]}} {{[-d|--home]}} {{path/to/new_home}} {{username}}`
|
||||
|
||||
Reference in New Issue
Block a user