-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Labels
C-parserParser/ASTParser/ASTgood first issueGood for newcomersGood for newcomersnon-compliantused to track failing compliance testsused to track failing compliance tests
Milestone
Description
Hey!
I can't get sudo -u caddy -s -D /var/lib/caddy working (w/ sudo-rs v0.2.11 and a wheel user).
I only get the error/hint sudo: you are not allowed to use '--chdir /var/lib/caddy' with […].
Trying to us Defaults:root,%wheel runcwd=* (like explained by the sudoers man page) in /etc/sudoers (I'm not using as separate /etc/sudoers-rs) to fix the issue, I end up getting unknown setting: 'runcwd' …
I don't know where the real cause is, but I venture the guess that sudo-rs hasn't implemented the sudoers option runcwd, ATM. So IMHO using -D or --chdir seems not possible, right?
(If I'm wrong here, how can I use -D?)
Thanks in advance (for answering my maybe dumb question) and KR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-parserParser/ASTParser/ASTgood first issueGood for newcomersGood for newcomersnon-compliantused to track failing compliance testsused to track failing compliance tests