Bug#269573: [Pkg-shadow-devel] Bug#269573: {add|remove}-shell should be recoded in C

Christian Perrier bubulle@debian.org
Sat, 16 Apr 2005 11:18:40 +0200


Quoting Alexander Gattin (arg@online.com.ua):


> Or I don't understand something obvious? Seems that
> bash wouldn't be removed inbetween `#! /bin/sh -e` ;)
> and `/usr/sbin/remove-shell /bin/bash`
> 
> P.S. I can try removing bash at Monday (at work).
> Will get much fun, I think. :) But some shell should be
> present on system -- maybe _real Korn shell_ then? ;)

This should be done in a chroot jail. This was the bug submitter
rationale.