LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 03-10-2005, 06:23 AM   #1
learnfast
Member
 
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70

Rep: Reputation: 15
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.
 
Old 03-10-2005, 06:30 AM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
 
Old 03-10-2005, 09:51 AM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
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!
 
Old 03-10-2005, 10:01 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what kind of website is much safer? iclinux Linux - Security 11 09-28-2005 11:27 AM
Whick is safer: ext3 or reiserfs shadkong Linux - General 24 09-15-2005 06:09 PM
safer than S** mifan Linux - Newbie 7 05-29-2005 11:49 AM
is red hat safer then winxp OMEGA-DOOM Linux - Security 4 05-18-2004 04:55 PM
Can anyone help me make my computer safer please? packman Linux - General 1 10-26-2002 10:17 PM


All times are GMT -5. The time now is 11:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration