Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have recently switched my old Windows 98 to Mandrake Linux 9.1. With Windows I had F-Prot Antivirus and ZoneAlarm firewall, and I take I was adequate secured.
If I had understood it correctly, Linux has good security build-in. This question is conserning a) virus protection and b) firewall.
a) I have download and installed F-Prot for Linux. Altho commandline interface isn't very good IMHO, I have scanned my harddrives, no viruses were found. I have set up cron as F-Prot Readme suggested to get and install new virus updates two times per day. I was thinking to scan harddrives (I have two of them) once in every week. For you experienced Linux users, is this adequate to protect me against viruses?
b) For firewall, I haven't found any HOWTO which I could understand with my somewhat poor English. In Mandrake Control Center I have chosen "High" as security protocol, and in firewall config I have chosen All - no firewall. I did install Guarddog from KDE, but I didn't understood how to configure it. Since I installed it, DirectConnect didn't work anymore and webpages were slow to load. So I uninstalled it.
So my question is, what you propose as good and newbie-friendly firewall utility?
As for password/user security, I have atleast 8 characters passwords with mixed letters and numbers. Passwords aren't words in any language. I only log in as root when I really need to.
a) What's a virus again? Ever since I switched to Linux I never had to worry about them really.
AFAIK that should work perfectly I would think since I haven't used a Virus scanner or software once since I've started using Linux about 5 or 6 years ago. You really don't need to worry about viruses in Linux as they aren't that popular anyways. And if there are some, in which there are, by default it rarely does any damage in most cases. Try searching the forums as this is commonly asked and answered all the time.
b) Try checking out the HowTo's at www.tldp.org where you can find the IPTABLES howto and documentation or maybe a search on IPTABLES.
PS. About Command Line interface isn't any good.. well, I can achieve more in a Linux command line than anyone with a mouse and GUI could in Windows. It is very powerful, you can do everything from the command line, don't underestimate it as Linux is not DOS or Windows...
Also, get use to it, at times there won't be that pretty GUI tool to do what you need to do.
a) virus aren't really a concern in the linux world (windows and linux don't have compatible architectures/executables, so virus have to be re-written from scratch for linux.)
Furthermore, even if you somehow get infected by a virus, that virus can't do much except maybe delete files you created with the account you were using when you got infected (ie: if you downloaded an infected e-mail with the user Bob, that particular virus can only destroy files in Bob's home dir (provided that you didn't change critical system directories access rights to world-writable))
If you still feel paranoid about viruses, a weekly hd scan outta be enough to keep you protected.
b) I have yet to find a *nix firewall with a newbie-friendly GUI, but i suggest you use iptables. I'm pretty sure it comes pre-installed with Mandrake (or pre-compiled with the kernel? i dont know if iptables if software-based or kernel-based, since i don't use it), and im sure that if you google around you can find a basic HOW-TO that'll answer all your questions and provide you with a good config file.
All of this may sound complicated, but if you put some effort into it you can get your firewall running in a decent timeframe.
Bonus answer: If you really care about security, you should protect your boot-loader (LiLo) with a password.
I think the basics of Linux security involves updating software on your system that has security updates (Mandrake can do this fairly easily), blocking all unneeded ports with your firewall (firestarter is a good tool, it lets you simply choose what ports, if any, you need open), and using good security practices (don't run unnecessarily as root, don't run untrusted programs or files, etc.).
A virus program on Linux is mostly for scanning files that may be used on other (Windows) computers.