Update sg.md

master
SleestakOverflow 2021-02-15 21:57:15 -06:00 committed by GitHub
parent 99a572b7d9
commit ec7633d6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
functions:
shell:
shell:
- description: Commands can be run if the current user's group is specified, therefore no additional permissions are needed.
code: |
GROUPNAME=users
@ -8,7 +8,7 @@ functions:
command:
- description: Commands can be run if the current user's group is specified, therefore no additional permissions are needed.
code: |
COMMAND=whoami
COMMAND=whoami
GROUPNAME=users
sg $GROUPNAME -c $COMMAND
sudo: