Add runuser mode for various operations #39
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
baeuchle/sayod#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For git operations, it may be desirable to run them as unpriviliged user, while copy may require elevated permissions.
E.g., instead of:
sudo sayod-backup copy
sayod-backup replace-git
We might want
sudo sayod-backup copy
with
[context]
providers = accesslist replacor
[accesslist]
action = acl
unless = always
[replacor]
action = sayod
command = replace-git
before = no
runuser = my_unpriviliged_account
The issue is even larger:
Add runuser mode for git operationsto Add runuser mode for various operations