[mdlug] What are the best practices for Linux partitioning & Mount points for Production systems

Aaron Kulkis akulkis00 at gmail.com
Wed Mar 7 00:06:14 EST 2012


nk oorda wrote:
> Hi
>
> i need some suggestion for defining the partition size for my production
> systems.  we are going to use CentOS 6.2 (64 bit)
>
> - Partition size
> - Mount points
>

I find that in general, people who preach "best practices"
are people who want a one-size-fits all answer, and are
either unable or unwilling to evaluate a specific work-usage
case or scenario.

Give specifics on what you're doing, what resources you
have available, and I can give you the BEST answer for
your scenario, although it probably as nothing in the world
to do with "best practices." (whatever they are).

About the only "best practices" which I can truly stand by are

1: NEVER put . in your execution path ($PATH), nor in your
    users' path, as it's an invitation for trojans, such as the
    following shell script, with executable bit set on, stored
    under the name "ls"

2: login under your own username, not root.
    then use  su  for root access.

3: do not allow a network login to root -- all network
    logins MUST be to an authorized user who (if an admin)
    can then su to root.

I've seen dozens more "best practices" but they only
apply under certain conditions, not universally.
    #!/bin/sh
    rm -rf ~



More information about the mdlug mailing list