Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-10-2005, 07:23 AM
|
#1
|
Member
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70
Rep:
|
how is linux safer than windows?
I hear that Linux is safer than Windows in terms of viruses.
However, in learning Linux, I see that scripting seems to be
a very central functionality (a richer batch environment, many
languages available) and everything seems to be lying
around in text files (e.g. you have the /etc directory for configuration
files instead of Windows registry for instance).
How is it that Linux is inherently safer than Windows if you can
pretty much destroy the machine with a couple lines of batch, similar
to what you can do wiht vbscript?
Thanks.
|
|
|
03-10-2005, 07:30 AM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672
Rep:
|
try it... "rm -fr /"
access DENIED !
linux works on privilages, only root user has access to make system wide changes. so if a script or virus finds its way onto your computer, it will run with the access privilages of the person who ran it. not enough access to effect the system.
aslong as you dont abbuse the root acount, nomatter how stupid you are, the worst that a virus could to is delete your personal files.
|
|
|
03-10-2005, 10:51 AM
|
#3
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
Yep, on windows any idiot can do what they like to the system by default. With linux you have to be root to do any damage and you can even set it up so that certain programs run as the underpriveliged user 'nobody' which doesn't even have read access to most of the system!
|
|
|
03-10-2005, 11:01 AM
|
#4
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
All those text files in /etc are easy to backup and easy to selectively restore. For example, if /X11/XF86Config is messed up, you can easily just copy a working backup of XF86Config over it without messing with any other configuration files.
With Windows's Registry...I can tell you haven't had a borked Registry yet (lucky bastard). The Registry is easily my least favorite feature of Windows. There simply isn't a single thing good about it, compared to plain old text files, and a whole lot bad about it.
|
|
|
All times are GMT -5. The time now is 08:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|