Files

22 lines
361 B
Plaintext

---
functions:
file-write:
- binary: false
code: |-
script -q -c '# DATA' /path/to/output-file
comment: |-
The content appears among the log prints.
contexts:
sudo:
suid:
unprivileged:
shell:
- code: |-
script -q /dev/null
contexts:
sudo:
suid:
shell: true
unprivileged:
...