A couple of weeks ago I suggested that ksh could be substituted for bash on a
Linux server

Well I was wrong

It turns out on RHEL, at least, that root uses /bin/sh

BUT when you look in /bin
you find /bin/sh is a soft link to /bin/bash
[kbuntu has /bin/sh as a soft link to dash - so that is probably immune ]

Now go a little further into the /etc/udev/rules.d
and examine the scripts in there and low and behold there is BASH specific code
which will fail for ksh
: popd and pushd
plus some other elements

So if root tries to boot the system - normal - but is using ksh
your system may fail to boot and could even corrupt the files in this directory
and its game over - a re-install will be called for.

I guess good ideas need to be tested ;-)
cheers
pwl

-- 
Next meeting:  Bournemouth, Tuesday, 2014-11-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:[email protected]
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to