Question: I just used the Sudo command and to my surprise I was able to use Programs with root privileges only. Now if a hacker were to get into my PC, can't he try to do the same and thereby have root access. Or can't a Virus or Bug be programmed to do the same ? This is a difficult question.
Answer: It's not really a security hole, but a user feature. If an admin willingly lowers the security settings of his computer, it's choice. A choice which can be revoked. The point is just to keep attackers out of your box completely. You've used Windows 98 before, didn't you? You are aware that every command is run with superuser privileges there?
So anyway. The respective file is /etc/sudoers. You have to edit it with the visudo command, though. Do not use another editor! If you have problems editing, look for the manual of vi (that is the editor you're using). To disable the sudo rights, comment the line containing your username out with a #.
|