LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-23-2004, 02:16 AM   #1
crashedspine
LQ Newbie
 
Registered: Jun 2004
Location: Australia
Distribution: RedHat
Posts: 14

Rep: Reputation: 0
Question start form scrach what is the best seure directory structure to use?


Hello,
I am going to reinstall Linux RedHat Enterprise, and I would like to know the most or a good directory structure for security


Thanks helpers and for getting me on the way!
Hello helper and thank for helping me out and getting me on the way! I am going to reinstall Linux RedHat Enterprise, and I would like to know the most or a good directory structure for security

regrads
crashedspine@t6
 
Old 06-23-2004, 05:44 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
I'm guessing you mean filesystems rather than directories (if not, say).

When you create new filesystems, it depends on what you want to achieve. Things to consider include
- larger filesystems take less management but are more likely to corrupt and take longer to recover after corruption.
- a filesystem can be set read-only, or not permit SUID files or devices, so if there are sections of your system that can be read-only (e.g. /usr for lots of security) then put those in separate filesystems.
- smaller filesystems restrict the damage that an individual user can do - they can fill up one filesystem but probably not others.
- if you are not using LVM, increasing the size of filesystems once created is a pain and realistically you will be doing a backup/restore if you get the sizing wrong.

I would recommend having separate filesystems for /usr, /var, tmp, /, /boot, /home and, if different, the application and user data.
 
Old 06-23-2004, 05:33 PM   #3
crashedspine
LQ Newbie
 
Registered: Jun 2004
Location: Australia
Distribution: RedHat
Posts: 14

Original Poster
Rep: Reputation: 0
Sorry, Yes file systems
Thank you very mush this is a great start, it's a balancing act to know which way to go. Wat you are saying is true, problems if it is to big and problems if it is too small.

I was really only thinking of the security side of things as I do not know much about Linux and wanted to have a base to build from, but knowing me I will do hundreds of install before I get it right.

I appreciate, your time and sharing your skills with me
Thanks again.

crashedspine@t6
 
  


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
Directory Structure fedix Linux - Newbie 3 10-14-2005 02:48 PM
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 06:05 AM
how do I copy a whoel folder form one directory to another form the command line? zwyrbla Linux - Newbie 8 08-24-2004 06:40 PM
directory structure alaios Linux From Scratch 4 04-20-2004 06:16 PM
directory structure sluggo Linux - Newbie 1 01-20-2002 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:32 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