Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Security
Reload this Page Partition security?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Security Discussion about keeping your machines secure, and the crackers out.

Reply
 
Thread Tools Display Modes
Old 08-03-2007   #1 (permalink)
Katabatic
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
Katabatic is offline   Reply With Quote
Old 08-03-2007   #2 (permalink)
g.ivannov
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.
g.ivannov is offline   Reply With Quote
Old 08-03-2007   #3 (permalink)
Katabatic
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?
Katabatic is offline   Reply With Quote
Old 08-03-2007   #4 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,101
Quote:
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.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 08-03-2007   #5 (permalink)
g.ivannov
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.
g.ivannov is offline   Reply With Quote
Old 08-05-2007   #6 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,101
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.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help recovering NTFS partition cowboy99 Misc 0 01-31-2005 01:14 PM
dual boot problems -- need partition help? quarter_ethan Installation 3 07-21-2004 07:42 PM
Problem mounting 1 FAT32 partition (but others are OK) woolfie Linux Newbie 1 07-15-2004 04:54 PM
Microsoft prepares security assault on Linux kriss LinuxForums.org - Articles 6 11-13-2003 07:51 AM




All times are GMT. The time now is 10:40 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0