To those running as root all the time:
Running as an upriviledged user is one of the best security features available to a Linux user. If you're checking your email, surfing the web, or doing ANYTHING pertaining to the USE of your computer, there's no reason you shouldn't run as a regular user. The only time you should run as root is when you specifically need to do something pertaining to the maintainance or running of the computer, like installing a package, or changing system settings. As a matter of fact, you shouldn't really ever log in as root-- you should use su or some other tool and gain root priviledge.
One big reason is malicious code. One of the ways Windows virii do so much damage is because as a regular Windows 9x user, you have full power to do anything to your system, including trashing it. Even in Windows XP, IIRC, new users are automatically added to the Administrators group. If you open an e-mail with malicious scripting in it, the code can have its way with your machine if you're running as a priviledged user. In a properly configured Windows system, or in any other Unix-like system, the damage such a script could do would be limited to only the files the unpriviledged user had permission to modify. 9 times out of 10, that unpriviledged user won't have file permission to delete any important system files.
I'm not going to dissuade anyone from running as root all the time, but I will stand there and laugh when they accidentally delete everything on their system when they really meant to delete everything in an mp3 directory. :)
alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
Not guilty! I always su to root whenever I absolutely need to.
Well said, alc
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
I have read here and in other forums about what a pain it is or takes too much time to su to root. Oh common. If that is how you want to set up your box and not learn about proper file permissions, then so be it. Like alc6379 said, we will all get a good laugh out of your blunders. :cheesy:
twilli227
Junior Poster in Training
59 posts since Dec 2003
Reputation Points: 56
Solved Threads: 1