Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: Enmity on 8 November 2003, 21:46
-
I'm having problems with file permissions
(I've read the FAQ don't bitch)
I've got my computer that's got 3 partitions and 1 swap partition,
1 for windows(FAT32)
1 for Linux (ext3) no specific distro, always change
1 for spare usage (ext3)
I've got some files that I want to store in the Spare partition. I set it to be read/write-only by root cause it's kind of private. The problem is some live CDs like slack-live login as root default, i don't want anyone messing with it. How do I make it so that not even the mighty ROOT can read it? (unless specified password given)
PS: Even partition magic 8 on Winblows can read the files when it's root only access. Shit.
BTW I'm not sharing it nor am i on a network. The box only connects to the internet( no router)
[ November 08, 2003: Message edited by: Enmity ]
-
Well, you can set it in your fstab that no one can read it--but that would only apply to your *nix install. To not allow _anything_ to read it without your special premission, you'd have to encrypt and decrypt the partion. This topic came up before--search the forum.
-
Why do you not want root to be able to mess with it? If someone has the root password they can mess with it anyway.
-
If someone can get to your computer and boot up Suse live or whatever and go to root as that then they can do whatever they want to your computer and read whatever files you have. This is the same with all Operating Systems... Either password the BIOS, disable booting from cds and lock the case if your that paranoid or look into encryption so that even if they can read your files they cant understand them. Those root permissions arent anything special that stop the files beign read - they're just markers set that tell your OS "please dont read this." The OS respects that because its yours, and it was that OS that set the permissions anyway... but if someone changes your OS, all bets = off. Its not too easy to change your OS without you noticing it tho...
-
quote:
Why do you not want root to be able to mess with it? If someone has the root password they can mess with it anyway.
Yep.
And in some cases you'll need root.
[ November 08, 2003: Message edited by: insomnia ]
-
[ November 08, 2003: Message edited by: insomnia ]