LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-31-2011, 09:36 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Protection


Hey, recently installed ubuntu on a virtual machine, (may swap to mandriva in the near future). I've been a windows user for about 6 years, am a os x beginner, now experimenting with linux, i am lost for what i need to do to secure linux on my computer.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-31-2011, 09:42 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Is the virtual machine exposed to the network ? ... (bridged mode)
 
Old 01-31-2011, 09:42 PM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

what do you exactly mean by securing linux on your computer? Do want to run a server? Or do you just want to use it as your every day working OS?
I have been using Ubuntu as my working OS for some years now. After installation there are no further steps necessary like installing a firewall or something like antivirus protection. Haven't encountered any problems (regarding security) yet.
So, simply install and start working.

Or do you mean securing like encrypting filesystems?

PS: I have linux installed on a hard drive. Not sure if there are security issues if you run it in a virtual machine under windows - never done that. Am I assuming correct that you do this only for testing purposes and intent to do a real install at a later point or do you want to keep it in a virtual machine? Maybe because you only need it for a few specific programs to run?

Last edited by crts; 01-31-2011 at 09:46 PM.
 
Old 01-31-2011, 11:44 PM   #4
retxed
Member
 
Registered: Sep 2009
Location: Chennai
Distribution: Ubuntu 11.10 and back track 4
Posts: 45

Rep: Reputation: 9
In case you need to patch the Kernel Vulnerabilities, i'd suggest Ksplice-Uptrack Manager.....
 
Old 02-01-2011, 02:48 AM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
It's for the everyday OS purpose. i run it in a virtual machine because it's convenient to have more than one os running at once, but also because i'm still experimenting and deciding on wether i would benefit from making a partition for it. I mean do i have to do anything to protect my system from malware, spyware, adware, viruses ect. Pretty much what a person would normally have to do for a windows operating computer. Or is their anything else that i should know that's not in windows but is in linux that may be harmful or jeopardize my privacy.
 
Old 02-01-2011, 03:14 AM   #6
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by Knightron View Post
I mean do i have to do anything to protect my system from malware, spyware, adware, viruses ect. Pretty much what a person would normally have to do for a windows operating computer.
No, as I said just install and start using it. No additional "third party baggage" is
needed.
Quote:
Or is their anything else that i should know that's not in windows but is in linux that may be harmful or jeopardize my privacy.
The only thing is to install the updates. But that happens automatically. Every couple of days the update manager will pop-up and inform you about available updates that can be downloaded. This procedure takes usually a minute or two. Except for the first time. After a fresh install there will be probably a lot of updates available. Installation of those updates will take a bit longer.

If you choose to install Linux permanently you will also notice that it just won't slow down with time like windows does. No matter how many programs you have installed boot time will stay low. No need to defrag or reinstall every few months.
Quote:
I run it in a virtual machine because it's convenient to have more than one os running at once.
As I said, there *might* be some attack possibilities through the host system if you run it in a virtual machine. So if you come to like a specific distro you should install it.
 
Old 02-01-2011, 10:39 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in <Linux-Security> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 02-01-2011, 11:33 PM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Smile

Thanks guys for the info and moving the page. I can't believe linux doesn't need any protection.. Huh! guess i've become to conditioned to the windows environment. Just another question, is all the previous advice relevant to all distros

Last edited by Knightron; 02-01-2011 at 11:35 PM.
 
Old 02-01-2011, 11:44 PM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by Knightron View Post
I can't believe linux doesn't need any protection..
It's good that you don't believe that, because it's right up there with unicorns and pixie dust. Unless you've got like zero security requirements/desires, there will always be measures to take on any system.
 
3 members found this post helpful.
Old 02-02-2011, 12:22 AM   #10
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by win32sux View Post
It's good that you don't believe that, because it's right up there with unicorns and pixie dust. Unless you've got like zero security requirements/desires, there will always be measures to take on any system.
I did not mean my post to be understood that Linux is impenetrable. As I said, for everyday use you do not have to go through the ordeal that you have to with windows. I know that there are virus scanners for linux. But I have never had a virus with linux. With windows it was sufficient to go online before the virus scanner was installed and the system was infected within seconds.

@OP: One thing you probably want to do is to check your browser settings. Disable features like javascript if you intend to browse websites that you do not trust. Also disable cookies and only explicitly allow them for sites that you trust. Assuming that you will probably use firefox as your standard browser check out this site:
http://www.zdnet.com/photos/securing...get-photo-roto

The best way to minimize the risk of catching malware through your browser, though, is to be careful which sites you visit.

If anyone has some more suggestions on what one can actively do to make the system more secure then I am all ears. And please, not just vague statements like there is no absolute security. That's just stating the obvious.
 
Old 02-02-2011, 08:31 AM   #11
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by crts View Post
If anyone has some more suggestions on what one can actively do to make the system more secure then I am all ears. And please, not just vague statements like there is no absolute security. That's just stating the obvious.
A good place to get a feel for things is the sticky at the top of this forum. That said, it would be foolish to start churning out security measures without first understanding what you're trying to defend against. All our security needs are different.
 
1 members found this post helpful.
Old 02-02-2011, 11:50 PM   #12
jesica
LQ Newbie
 
Registered: Nov 2010
Location: South Africa
Distribution: Linux Mint
Posts: 22

Rep: Reputation: 2
Try out iptables, very nice tool to use
 
  


Reply



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
Memory Protection jaypas Linux - Newbie 3 07-08-2010 11:40 AM
Thermal Protection... Super TWiT Linux - Hardware 5 01-08-2010 08:56 PM
DVD Protection unihiekka Linux - Security 1 05-01-2008 08:31 AM
Disk Protection atezun General 3 06-22-2007 03:24 PM
Data protection. rblampain Linux - Security 4 07-29-2005 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration