-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems like I should run tomb commands only in terminal #415
Comments
I had to retract my retraction (old text deleted). Using tomb without terminal still has sudo prompting for a password, regardless NOPASSWD: in sudoers. Have you ever considered replacing sudo with pkexec? |
That's curious, because
So the behaviour/report of your backup program is correct. Maybe you set something in your |
Hi! we now have |
this recent commit e0ba8c5 enables use of pkexec from the |
I am using a backup software that has web UI (locally, only on my laptop). I wanted to add a pre-op trigger to a backup set to check if any tombs are still open, using "tomb -q list". The backup software gives me an ugly warning, originating from a sudo command inside tomb script.
"sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper"
When I run "tomb list" in terminal, it does not require sudo . Yet I get this message when I run it in this other context.
The warning message is so annoying that for now, I have opted to use "mountpoint -q" on each individual mountpoint, instead of the "tomb list" command. The way I have set up my backup set currently, all mount points are already known, but I would prefer to not hardcode that information all over.
The text was updated successfully, but these errors were encountered: