0

This question already has an answer here:

I have read that running Ubuntu apps as root is dangerous. Why? Is it still dangerous on a personal non-networked computer? In particular, why shouldn't I run the file manager as root administrator?

marked as duplicate by muru, david6, Pilot6, Eric Carvalho, David Foerster Aug 25 '15 at 10:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • @muru It sort of is, but I think he means running programs as root, like Nautilus. – TheWanderer Aug 24 '15 at 0:23
  • @muru Or you could edit it. I know what's being asked after helping on a previous question by the same person about managing files owned by root. askubuntu.com/questions/665012/… – TheWanderer Aug 24 '15 at 0:27
  • @muru Just did. The request was put in. – TheWanderer Aug 24 '15 at 0:28
  • I think the old question does answer my question. The problem though is that I didn't think to search 'why is it bad', so I never saw that old question before posting my new question. I'll leave it to experienced SE members to decide what to do. – IanS Aug 24 '15 at 0:31
  • Maybe leave this question with a pointer to the old question. After all, my question here does ask it in a slighlty different way, that may be found in cases where the other won't be. – IanS Aug 24 '15 at 0:33
2

It's only dangerous because you can delete important files accidentally. On servers and such, giving root a password can make the computer vulnerable to attack, since the all-powerful root is accessible to use to delete files. The only reason logging in as root or using programs as root that I can think of is the possibility of accidentally deleting something that you didn't want deleted or modified.

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