Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Best practices for securing ubuntu 12.04 laptop

  1. #1
    Join Date
    Jul 2005
    Beans
    435

    Best practices for securing ubuntu 12.04 laptop

    Hello,

    I am planning to install ubuntu 12.04 on my laptop. What I usually do for security is to lock the root account, edit the file /etc/hosts.deny and add the line ALL: ALL , set up a firewall (ufw/Gufw in this case) with default rules of Incoming:Deny, Outgoing:Allow. Is this enough for providing reasonable security for my laptop? If you have ideas about what else I can do to secure the planned ubuntu 12.04 installation on my laptop, please let me know.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Best practices for securing ubuntu 12.04 laptop

    Root is disable by default, by the way.

    If you have the firewall set to block incoming connections, I doubt there is a need for DenyHosts.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Best practices for securing ubuntu 12.04 laptop

    If there are no running services on your laptop (which there are not by default) there isn't any point to set the default input chain to deny. Wouldn't it be better to run noscript or equivalent from the browser?

  4. #4
    Soul-Sing is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Aug 2006
    Beans
    1,374
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Best practices for securing ubuntu 12.04 laptop

    consider your laptop as an usb stick with some extra's, so: encryption, encryption, encryption==> home, or better the entire disk.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Best practices for securing ubuntu 12.04 laptop

    Quote Originally Posted by Soul-Sing View Post
    consider your laptop as an usb stick with some extra's, so: encryption, encryption, encryption==> home, or better the entire disk.
    Pretty much. That is doubly important if you travel with your laptop.

    Which doesn't stop me from not doing it. >.>
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Apr 2013
    Beans
    8

    Re: Best practices for securing ubuntu 12.04 laptop

    Quote Originally Posted by CharlesA View Post
    Root is disable by default, by the way.

    If you have the firewall set to block incoming connections, I doubt there is a need for DenyHosts.
    Everytime I restart my computer, I have to load up the firewall configuration again to turn it on. Is there a way where I don't have to do this at all?

  7. #7
    Join Date
    Jul 2005
    Beans
    435

    Re: Best practices for securing ubuntu 12.04 laptop

    Quote Originally Posted by JessicaTsang View Post
    Everytime I restart my computer, I have to load up the firewall configuration again to turn it on. Is there a way where I don't have to do this at all?
    Are you using a ufw/Gufw firewall ?

  8. #8
    Join Date
    Jul 2005
    Beans
    435

    Re: Best practices for securing ubuntu 12.04 laptop

    Hello,

    I think my first post wasn't too clear. I wasn't asking about securing physical security of my laptop. I was asking about protecting my laptop from intruders over the internet and preventing them from taking over the ubuntu 12.04 installation on my laptop or being able to access my personal files in my home directory on the laptop.

  9. #9
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Best practices for securing ubuntu 12.04 laptop

    Quote Originally Posted by jsvidyad View Post
    Hello,

    I think my first post wasn't too clear. I wasn't asking about securing physical security of my laptop. I was asking about protecting my laptop from intruders over the internet and preventing them from taking over the ubuntu 12.04 installation on my laptop or being able to access my personal files in my home directory on the laptop.
    As long as you don't install any remote access software like SSH or VNC, you should be fine.

    Enable your firewall too.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  10. #10
    Join Date
    Jul 2005
    Beans
    435

    Re: Best practices for securing ubuntu 12.04 laptop

    What does adding the line
    ALL: ALL

    to my /etc/hosts.deny file actually do ? What does it accomplish?

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

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