LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 05-19-2011, 02:03 PM   #1
johndev
LQ Newbie
 
Registered: May 2011
Posts: 3

Rep: Reputation: 0
Ubuntu security checklist?


For a new Ubuntu box, what would be the security checklist for a new box?
 
Old 05-19-2011, 02:25 PM   #2
spankbot
Member
 
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
Quote:
Originally Posted by johndev View Post
For a new Ubuntu box, what would be the security checklist for a new box?
You're asking a big open-ended question, but I'll try to get you started. Step one would be to do a google search for "Ubuntu security", but here are some general rules.

1. Use a firewall.
2. Learn to properly use UNIX permissions and make sure you always use the fewest permissions needed. A lot of newbies will "chmod 777" a file or directory when they have permission issues, which is very bad.
3. Use your machine as a normal user and not as root. Learn to use sudo.
4. Remove and disable any un-needed services. For example, if you don't need a mail server running, remove postfix.
5. Use TCP wrappers to lock down serviced you do need available.

There are a lot of general rules too, like use a strong password, encrypt sensitive data (TrueCrypt), keep regular backups, etc. That should get your started, but do a lot of google research too.

Last edited by spankbot; 05-19-2011 at 05:10 PM.
 
1 members found this post helpful.
Old 05-19-2011, 04:27 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You might want to have a look at the Security References as well.
 
Old 05-19-2011, 04:42 PM   #4
spankbot
Member
 
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
And I see you are doing web application development... That means you will need to become somewhat of a security expert. Always sanitize your inputs!!!
 
Old 05-19-2011, 05:20 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,885
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Most of the info in Securing Debian Manual - http://www.debian.org/doc/manuals/se...-debian-howto/ would probably apply to Ubuntu as well.

Securing a New Ubuntu Installation - Community Ubuntu Documentation - https://help.ubuntu.com/community/Ma...ringNewInstall
 
1 members found this post helpful.
  


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
Vista Ultimate to Ubuntu 8.0.2 Checklist blue b Linux - Newbie 1 09-27-2008 07:45 AM
security checklist for a public internet kiosk? mapquest Linux - Security 1 10-01-2006 02:37 PM
security checklist ddaas Linux - Security 8 06-17-2005 05:36 AM
Security checklist Dogit Linux - Security 6 02-25-2005 02:38 PM
Security CheckList miso Linux - Security 4 11-25-2002 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:31 AM.

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