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.

I would like to prevent any program within my PC from running modified scripts without super user authorization, such as instruction on rebooting my pc from start up to forcing through software updates.

How can I prevent packages from calling strong text/usr/share/update-notifier/notify-reboot-required this is to prevent any malicious program from running within my pc?

How can i do this?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

The actions you mentioned, rebooting and installing, can only be done by root. So, if you deny those programs root access you'll be fine. And anyway, you shouldn't allow random programs to run as root.

This is the default behavior. Remember, don't type "sudo" before a command unless your command actually needs root access and you've verified that it won't work without root. Also, don't type your password into a password prompt unless you're sure about what will happen.

share|improve this answer
    
Thank you very much for these helpful tips, I am really liking this place. –  foundmyFrodo Sep 18 '12 at 14:48
add comment

Your Answer

 
discard

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.