Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I'm done with making Ubuntu remember my password and do not ask for it before risky actions...

Is there a way to get safe pop up confirmation window (without password input, just OK or cancel)?

So I will know when a pesky program runs a risky action that I don't want to proceed?

Or it is not developed since the program could just simulate a click on OK anyway?

share|improve this question

1 Answer 1

No, there is no way to do this. If you enable sudo without a password (How to run sudo command with no password?), then any process you run can execute sudo and run code as root without any confirmation.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.