Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
I know that viruses are usually made for windows, but isnt that just because more people use it? So if there were more people who used linux than windows, would ...
  1. #1
    Linux Newbie Van Halen Man's Avatar
    Join Date
    Sep 2006
    Location
    N. Canton Ohio
    Posts
    208

    Why is linux impervious to Viruses?

    I know that viruses are usually made for windows, but isnt that just because more people use it? So if there were more people who used linux than windows, would all the viruses be for it instead of windows? I need this question answered so that when I argue with my friends about linux being better than windows, I can use this as an example.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    linux wont run something without you knowing. windows has MANY ways of running executible files that you have no real controll over. it is VERY easy to kill a system with linux. if i write a script that i say plays a game, and say you have to be root, but it really runs the command "rm -r /", your system is nuked. but if you ran a script as root without looking at it first, you probably have no idea what your doing.

  3. #3
    Just Joined! rockinup1231's Avatar
    Join Date
    Feb 2007
    Posts
    16
    To tell ya the truth, I thought there may be viruses for linux. AVG has an AV for linux.

    The reason I would argue is that it is more commonly used, therefore those that create malware and whatnot would be more interested in screwing with Windows users. Windows has also been around longer (I will say I think since I really am not sure) so that could be another factor.

    Here is what I would argue...

    -Linux is free
    -The new Wine emulator can run your favorite windows programs
    -Updated versions of, let's use Ubuntu for example, come out much more frequently than Windows OS's.

  4. #4
    Linux Enthusiast aysiu's Avatar
    Join Date
    Jul 2005
    Posts
    633
    Impervious is probably too strong a term--resistant is probably more accurately descriptive.

    Read this:
    http://www.psychocats.net/ubuntu/security

  5. #5
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Viruses are not made for Linux because it's pretty hard to infect a Unix-like system like Linux without the user knowing about it. You need special passwords to modify vital parts of the system like /lib or /bin as well as things that are on your PATH like /usr/bin or configurantion files in /etc and file permissions can prevent the reading of /etc/shadow (encrypted passwords file)

    Let's say 30% of worldwide servers run Linux, why there are no viruses for these servers? or for Apache? But exploits constantly appear for MS IIS
    30% is a considerable amount

    The best way in my opinion is loading a kernel module to bypass any password but you still need the root password to load the module into the kernel
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  6. #6
    Linux Newbie Van Halen Man's Avatar
    Join Date
    Sep 2006
    Location
    N. Canton Ohio
    Posts
    208
    So it is POSSIBLE to get a virus but not likely?

  7. #7
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by Van Halen Man
    So it is POSSIBLE to get a virus but not likely?
    That's the long and short of it, yes. No operating system is ever 100% virus-proof, but as far as OSes go, Linux and UNIX/BSD are more resistant than most of the others on the market.

    There are many theories as to why (obscurity, better design, permissions, lack of interest) and it's likely all of them are valid, but I doubt any single theory is the reason.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  8. #8
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,228
    Right. The whole "Well if Linux was the #1 OS, it would have viruses" argument is flawed based on the Apache webserver, which has virtually no exploited vulnerabilities.

    I really chalk it up to the UNIX permissions system and the VERY VERY strict separation of powers. A regular user CANNOT, once again, CANNOT harm the system at large. However, you are also not using the administrative account as your regular account. Since you generally have to okay all executables, any moderately intelligent user can figure out what's going on.

    If people didn't use the admin account in Windows, it would be more secure as well. Unfortunately, whereas Linux makes it easy for an admin to work from a less-privileged account, Windows doesn't, so many people default to using an admin one.
    DISTRO=Arch
    Registered Linux User #388732

  9. #9
    Linux Engineer d38dm8nw81k1ng's Avatar
    Join Date
    Mar 2005
    Location
    Newcastle
    Posts
    793
    actually, from what i've heard, apache 2 gets slammed regularly. also, one of the head kernel devs (morton i think?) commented a while back (2.6.15) that linux was getting too buggy. linux is far from impervious. as said above, the reason linux doesn't get attacked is because of it's relative obscurity. however, iirc there are less flaws (and these are mostly discovered in labs) in linux than windows (with the exception of vista) but it only takes one flaw to "open the floodgates" for exploits. if you want a REALLY secure OS then go for OpenBSD (as they say, 1 remote exploit in 10 years)
    Here's why Linux is easier than Windows:
    Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
    Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?

  10. #10
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Someone on these forums posted this link before I can't remember whom but it will answer ALL your questions about Linux and Windows security.

    http://www.theregister.co.uk/securit...dows_vs_linux/

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •