mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
improv: small details
This commit is contained in:
parent
982149802a
commit
72db07051b
5 changed files with 26 additions and 20 deletions
30
rules/sudo-doas.toml
Normal file
30
rules/sudo-doas.toml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
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}}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue