pdksh to mksh (rc-scripts conflict)

Arkadiusz Miśkiewicz arekm at maven.pl
Wed Jun 26 17:09:49 CEST 2013


On Wednesday 26 of June 2013, Lukasz Glebicki wrote:
> Hello,
> 
> When I replaced pdksh to mksh, I wasn't able to login into system because
> there wasn't /bin/ksh in /etc/shells.
> Is this a correct behaviour not adding /bin/ksh to this file?
> Someone who migrate from pdksh and uses /bin/ksh as shell for root/user
> will have the same problems.

I had worse experience. /bin/sh was gone from /etc/shells even if messages 
were telling me otherwise

poldek:/all-avail> install mksh-
Przetwarzanie zależności...
pdksh-5.2.14-56.i686 zostanie zastąpiony przez mksh-44-1.i686
Jest 1 pakiet do instalacji, 1 do usunięcia:
I mksh-44-1.i686
R pdksh-5.2.14-56.i686
This operation will free 45.2KB of disk space.
Potrzeba pobrać 161.7KB archiwów (161.7KB do pobrania).
Pobieranie th::mksh-44-1.i686.rpm...
.............................. 100.0% [161.7K (2.8K/s)]                     
Uruchamianie rpm --upgrade -vh --root / --define _check_dirname_deps 1...
Przygotowywanie...          ########################################### [100%] 
1:mksh                   ######################################
##### [100%]
Adding /bin/mksh to /etc/shells
Removing /bin/sh from /etc/shells
Removing /bin/ksh from /etc/shells
Adding /bin/sh to /etc/shells
Adding /bin/ksh to /etc/shells
poldek:/all-avail>

real result  - no /bin/sh in /etc/shells

> 
> Regards,


-- 
Arkadiusz Miśkiewicz, arekm / maven.pl


More information about the pld-devel-en mailing list