Red Hat Enterpise LInux Shell Maintenance

Posted on 2011-10-24
Last Modified: 2012-06-27
I know that the default shell on Linux is bash but if I want to install ksh93 on a server what extra maintenance would I have to do to maintain that shell then if I didnt have it installed ?

Im asking from a sys admin point of view. What stresses does/will it cause.

Question by:MehtaJasmin
    LVL 31

    Expert Comment

    50 points :(
    Ok, here it goes.

    ksh93 is installed by default.  You should have it

    Issue command
    which ksh

    To change a user's login shell issue command

    as a common user.

    Or issue command
    usermod -s /bin/ksh <USERID>

    as admin
    LVL 31

    Expert Comment

    As admin, it should not cause any extra headaches. It is secure and good enough. Every user can select a shell as a login shell and they can also change a shell without changing any setting

    For example issue command


    to work in Korn shell
    LVL 19

    Accepted Solution

    As to your stress question, it won't cause you any issues at all - you can have as many shells installed as you want to, and it won't hurt your system at all nor require you to do any additional work.

    I think the only stress here is on farzanj because the question is only worth 50 points :)  BTW, his answer is correct, although depending on the install option selected it's possible that ksh isn't present.

    If the command "which ksh" replies with "/usr/bin/which: no ksh in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

    Or something like that, then you will need to do "yum install ksh" as root.
    LVL 31

    Expert Comment

    @xterm:  This is not funny.  Would you please leave me alone?

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    powershell backup 2 61
    How to Edit Files in Linux 6 71
    Installing Gluster and/or CEPHS 3 38
    incorrect file reading in bash 7 25
    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now