Files

13 lines
377 B
Plaintext

---
comment: |-
There are also a number of other utilities that rely on `bzip2` under the hood, e.g., `bzless`, `bzcat`, `bunzip2`, etc. Besides having similar features, they also allow privileged reads if `bzip2` itself is SUID.
functions:
file-read:
- code: |-
bzip2 -c /path/to/input-file | bzip2 -d
contexts:
sudo:
suid:
unprivileged:
...