Why is it dangerous to execute scripts as the root user?

Why is it dangerous to execute scripts as the root user?
Answer
Summarizing from this Ask Ubuntu answer, it is a bad idea to run as root because: You are much more prone to mistakes or software bugs. … If ran as root, it might have freedom to delete everything in the system. Besides, you might be the victim of a buggy script which accidentally deletes critical files.
 

Tìm kiếm

Back
Top