Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2002
    Location
    kerala,india
    Posts
    29

    The best shell for root in unix

    Hi

    I would say the best shell for root in unix is /sbin/sh

    - /sbin/sh is statically linked and therefore has no external
    dependencies. This provides a minimal, safe environment;
    - /bin/sh, /bin/csh, etc. are dynamically linked and are therefore
    dependent on external libraries, usually found in /usr. These libraries
    must exist, must be intact, and must be the correct version.

    Any feedback you can provide on this subject is greatly appreciated
    I'm sorry to resurrect this tired topic and would like to bury it once
    and for all.

    Bye

    Suresh

  2. #2
    Join Date
    May 2002
    Posts
    176
    You can compile bash statically, too.

  3. #3
    Join Date
    Oct 2002
    Location
    Tel-Aviv, Israel
    Posts
    433
    I'd use /sbin/sh, incase I start the server without mounting the /usr pertition
    Uadm.com - Unix Administration, Security and Support.
    http://www.uadm.com
    "Unix is user friendly; it's just picky about who its friends are."

  4. #4
    Join Date
    Dec 2002
    Location
    kerala,india
    Posts
    29
    I would also like to know if statically linking the most used programs like ls, ps, cp, scp, rpm, wget etc is a good idea or not . because if libraries get corrupted, we cannot help much just with a shell.

    Bye
    Suresh

Posting Permissions

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