From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040116
Description of problem:
When the pdksh RPM is installed from the Fedora Core 2 media, it
creates not only the /bin/ksh binary and /bin/ksh entry in
/etc/shells, but also adds a /usr/bin/ksh soft-link to ../../bin/ksh
That /usr/bin/ksh soft-link is not, however, added to /etc/shells.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install the pdksh RPM from the Fedora Core 2 install media.
2. Confirm that /bin/ksh (binary) and /usr/bin/ksh (soft-link) are
Actual Results: If you look at /etc/shells, you will see that only
/bin/ksh has been added to /etc/shells.
Expected Results: *Both* /bin/ksh and /usr/bin/ksh should be added to
/etc/shells. The fact that /usr/bin/ksh is a "legacy" soft-link is
irrelevant because you are allowed to "useradd -s /usr/bin/ksh" after
On commercial UNIXes such as HP-UX, ksh is (ironically) present in
/usr/bin/ksh. For HP-UX, it's the directory /bin itself that is
soft-linked to /usr/bin and that creates both /bin/ksh and
/usr/bin/ksh availability - and, yes, /etc/shells on HP-UX has both
/bin/ksh and /usr/bin/ksh.
Fixed in cvs