You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
301 B
JSON
16 lines
301 B
JSON
3 years ago
|
{
|
||
|
"functions": {
|
||
|
"shell": [
|
||
|
{
|
||
|
"description": "Commands can be run if the current user's group is specified, therefore no additional permissions are needed.",
|
||
|
"code": "sg $(id -ng)\n"
|
||
|
}
|
||
|
],
|
||
|
"sudo": [
|
||
|
{
|
||
|
"code": "sudo sg root\n"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|