Find the answer to your Linux question:
Results 1 to 6 of 6
I was curious. If you system is hacked or somehow security is compromised from the outside, can the hacker gain access to all all of your parts of your hard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    8

    Partition security?


    I was curious. If you system is hacked or somehow security is compromised from the outside, can the hacker gain access to all all of your parts of your hard drive?

    For example, if i am on my Fedora partition, can the hacker get access or in any way affect my partition running Debian?

    What about LiveCDs? Can you get hacked while running a LIVE CD?


    Just curious as i couldnt find much info on it

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    47
    Quote Originally Posted by Katabatic View Post
    I was curious. If you system is hacked or somehow security is compromised from the outside, can the hacker gain access to all all of your parts of your hard drive?

    For example, if i am on my Fedora partition, can the hacker get access or in any way affect my partition running Debian?

    What about LiveCDs? Can you get hacked while running a LIVE CD?


    Just curious as i couldnt find much info on it
    Yes, you must protect your partitions. Here is a simplified /etc/fstab:
    Code:
    /etc/fstab
    
    <filesystem> <mountpoint> <type> <options>  <backup> <fsck>
    
    /dev/hda1  /   ext3       defaults,errors=remount-ro   0       1
    /dev/hda2  /home   ext3     nodev,nosuid        0       2
    /dev/hda3  none   swap     sw         0       0
    /dev/hda4  /mnt/hda4      ext3   noauto,user,ro    0       0
    /dev/hdb  /media/cdrom   udf,iso9660   noauto,user,exec        0       0
    /dev/fd0  /media/floppy   auto   noauto,user,rw,sync      0       0

    You may be attacked using a liveCD if your account is root. Use liveCD that give the option of non-privileged user like onthego (mepis) or sudo-accounts like DSL etc And if there is a firewall on the liveCD, turn it on.

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    8
    Thanks for answering that question man but it was late at night when i made it. I was origionally meaning to ask if i am in, for example, a Gentoo partition, can the files on my Fedora partition effected? Is the security compromised on the other partition?

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    a Gentoo partition, can the files on my Fedora partition effected? Is the security compromised on the other partition?
    Yes. All Partitions are visible to all distros and root user of one distro can read/write files/partitions of other distros, unless you hide Partition(s) using hide command of GRUB.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Apr 2007
    Posts
    47
    Quote Originally Posted by Katabatic View Post
    I was origionally meaning to ask if i am in, for example, a Gentoo partition, can the files on my Fedora partition effected? Is the security compromised on the other partition?
    Well, I replied "Yes, you must protect your partitions", but perhaps I was not very clear ...Yes, the security on the other partition is compromised if you dont secure it.

    In the scheme above you see (for example) this line:
    Code:
    /dev/hda4  /mnt/hda4      ext3   noauto,user,ro    0       0
    This partition doesnt belong to the active distro. The options noauto,user,ro mean that it is not mounted automatically at boot time, but can be mounted by the user and it will be in read-only mode. So, a hacker cannot endamage it.

    The example above was very simple. There are a lot of options for even more security but this chapter is long and you had better to google for howtos if you are interested in learning more.
    You can also install the package pysdm where you will find a labyrinth of options.

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Editing fstab file and passing ro option wont make any difference. root user of any distro can mount any partition with read/write privileges unless its hidden.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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