Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
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.
Presently, Linux is free from Torjans, Viruses etc., for the most part. However, when the number of Linux users goesup dramatically, I feel this might not be the case anymore. Those who propagate all these infections have their own reasons and will find a way to infect PCs running Linux. Comments/opinions welcome.
Linux is fundamentally diffrent in the way it executes programs, Making it very hard for a user to damage the system (can't right to almost any Folder unless your root) Which makes Virii very difficult to write as they can't get at anything to do damage. (They could wipe your home directory thats about it.)
Also we don't have VB and scripting in Mail (I suugest the first mail program that does this, its maintainers are put against a wall and shot.)
Their are exploits, but even the most exotic are cured before anyone knre they existed, and security is tight and then relaxed as necessary in Linux (usually) Not the Windows way of everthing Open then closed.
Just my £0.02 worth. (which of course worth more than $0.02 )
You could loose what evers in your home dir. But this is still very unlikely as most of the ways a virus gets on a system are Hard to do on a Linux System. (We don't use outlook for starters.)
Most people have never even seen a Linux Virus, or even heard of any.
Also software can only be loaded by root, so as long as your vigilant as root its almost impossible for this to happen.
Thats why you should never be root while doing normal stuff. Like browse the Web.
This is not that great come to think of it. So basically, what happens here then is that evverything I worked on is lost. However, the free Linux for which I have a installation CD remains safe ? Not a pleasant situation to be in if it were to ever happen.
Losing any information isn't pleasant. But If you can keep the os secure and most of the mods in it then you have won half the battle. Sure you have cd's for most and probably (if smart) have drivers burned too, but, what about all the time it takes to set it up? I would be much happier losing my docs, then losing my OS. Anyways a smart person keeps a backup of sensitive data like that.
It takes alot more skill/knowledge to write naughty software for Unix/Linux, but it can be done - however - Unix/Linux on the whole tends to be inherently more secure than Windows because of its nature.
I disagree with most of what is said here. The home directory is extremely vulnerable, and is the most important part of the system. Also, it's possible to write viruses and worms which do not require root access.
Basically, I've seen no strong arguments that Linux is any more secure than any other OS out there. I've seen too many ways in which a Linux box can be utterly screwed through and through by the simplest of programs to believe that for long.
The best approach to solving this problem IMHO is to have a community dedicated to wargaming, where people attempt to figure out ways to get malicious software onto systems and those holes are patched up quickly - and more important, when viruses/worms or spyware does start spreading, we have effective anti-virus and update mechanisms in place to ensure we can neutralise it quickly.
Basically what Linux needs is a community-driven equivalent to McAffee or Sophos. I doubt we'll see such a thing arise until Linux becomes a target however.
Those who develop Spyware, Adware, Trojans, Viruse etc., etc., have their own special reasons and motives. They are always learning, improving and developing. So the competition between the user and those who infect is an ongoing one. With more security, patches they will figure new and better ways to infect. Wait till Linux becomes popular and there is a lot lesser Windows users. When the Linux systems are still running during a major infection, the other side will know that they need a new approach and get one very fast.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.