LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools Search this Thread
Old 03-10-2005, 07:23 AM   #1
learnfast
Member
 
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70
Thanked: 0
how is linux safer than windows?


[Log in to get rid of this advertisement]
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.
learnfast is offline     Reply With Quote
Old 03-10-2005, 07:30 AM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,666
Thanked: 0
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.
qwijibow is offline     Reply With Quote
Old 03-10-2005, 10: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
Thanked: 12
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!
Komakino is offline     Reply With Quote
Old 03-10-2005, 11:01 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,358
Thanked: 1
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.
IsaacKuo is offline     Reply With Quote

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 12:27 PM
Whick is safer: ext3 or reiserfs shadkong Linux - General 24 09-15-2005 07:09 PM
safer than S** mifan Linux - Newbie 7 05-29-2005 12:49 PM
is red hat safer then winxp OMEGA-DOOM Linux - Security 4 05-18-2004 05:55 PM
Can anyone help me make my computer safer please? packman Linux - General 1 10-26-2002 11:17 PM


All times are GMT -5. The time now is 04:56 PM.

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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration