switchsh - bind-mount bash as /bin/sh

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: switchsh
Package version: 0~20070801
Package release: 3.1
Package architecture: i386
Package type: deb
Installed size: 44 B
Download size: 5.84 KB
Official Mirror: archive.ubuntu.com
Small program to bind-mount bash as /bin/sh for its child processes. It can be used when bash is not the default shell interpreter but a given program makes use of bashisms (features not required by Policy for sh) and one wants to run it without changing (or can not change) the default sh.




    Source package: switchsh

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install switchsh deb package:
      # sudo apt-get install switchsh


    • /usr/bin/switchsh
    • /usr/share/doc/switchsh/changelog.Debian.gz
    • /usr/share/doc/switchsh/copyright
    • /usr/share/man/man1/switchsh.1.gz


    2013-06-05 - Jonathan Wiltshire <jmw@tiger-computing.co.uk> switchsh (0~20070801-3.1) unstable; urgency=low * Non-maintainer upload. * Define _GNU_SOURCE to be able to use CLONE_NEWNS flag (Closes: #701454)

    2008-10-29 - Raphael Geissert <atomo64@gmail.com> switchsh (0~20070801-3) unstable; urgency=low * debian/rules: + Dropped the non-linux bits as they are completely useless since clone isn't available either. + Include patchsys-quilt.mk * debian/control: depend on quilt. * use_execvp.patch: search for the executable in PATH (Closes: #503835) - Thanks to Sven Joachim <svenjoac@gmx.de> for the suggestion and pseudo patch.

    2008-10-12 - Raphael Geissert <atomo64@gmail.com> switchsh (0~20070801-2) unstable; urgency=low * debian/control: + Added XS-DM-Upload-Allowed. + Added VCS information.

    2008-10-12 - Raphael Geissert <atomo64@gmail.com> switchsh (0~20070801-1) unstable; urgency=low * Initial release. (Closes: #483490)