Bug#208514: [Pkg-shadow-devel] Bug#208514: add-shell should not depend on passwd

Alexander Gattin "Alexander Gattin" <arg@online.com.ua>, 208514@bugs.debian.org
Mon, 18 Apr 2005 16:19:25 +0300


Hi!

I think that we can make remove-shell/add-shell scripts to 
have #!/bin/sh -e header instead of current #!/bin/bash -e

I ran checkbashisms and checked the scripts with ash -e, 
zsh -e and ksh -e (the one from pdksh, WRT ksh93 the 
scripts have problems, though).

I may also check it with other shells, but I think, having 
also had a look into the code, that the change proposed 
may be applied quite safely.

Having no objections in a week, I'll just commit the 
changes onto sid CVS.

P.S. This fix is intended for systems without bash and is 
related to bug #269573.
It's also related to the decision we are planning to make, 
i.e. moving remove-shell/add-shell out of shadow or not.

-- 
WBR,
xrgtn