mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
30 lines
641 B
TOML
30 lines
641 B
TOML
command = "privilege"
|
|
|
|
[[match_output]]
|
|
pattern = [
|
|
"as root",
|
|
"authentication is required",
|
|
"be root",
|
|
"be superuser",
|
|
"eacces",
|
|
"edspermissionerror",
|
|
"error: insufficient privileges",
|
|
"insufficient privileges",
|
|
"need root",
|
|
"non-root users cannot",
|
|
"not super-user",
|
|
"only root can",
|
|
"operation not permitted",
|
|
"permission denied",
|
|
"requires root",
|
|
"root privilege",
|
|
"root user",
|
|
"sudorequirederror",
|
|
"superuser privilege",
|
|
"unless you are root",
|
|
"updatedb: can not open a temporary file",
|
|
"use `sudo`",
|
|
"you don't have access to the history db.",
|
|
"you don't have write permissions",
|
|
]
|
|
suggest = 'sudo {{command}}'
|