Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-13 00:18:34 +00:00
parent ffbd8c31db
commit 904f7fe0c1
46 changed files with 228 additions and 157 deletions

View File

@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
- Define group administrators:
`sudo gpasswd -A {{user1,user2}} {{group}}`
`sudo gpasswd {{[-A|--administrators]}} {{user1,user2}} {{group}}`
- Set the list of group members:
`sudo gpasswd -M {{user1,user2}} {{group}}`
`sudo gpasswd {{[-M|--members]}} {{user1,user2}} {{group}}`
- Create a password for the named group:
@@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git
- Add a user to the named group:
`gpasswd -a {{user}} {{group}}`
`gpasswd {{[-a|--add]}} {{user}} {{group}}`
- Remove a user from the named group:
`gpasswd -d {{user}} {{group}}`
`gpasswd {{[-d|--delete]}} {{user}} {{group}}`