Bug#319136: [Pkg-shadow-devel] Bug#319136: passwd: config script silently fails if invalid group file is present

Christian Perrier bubulle at debian.org
Fri Jul 22 18:27:31 UTC 2005


tags 319136 confirmed
thanks

> > Marc, sorry, could you please explain in more details
> > what you mean here?
> 
> if ! shadowconfig bla; then
>   echo >&2 "ERR: shadowconfig failed"
>   exit 1
> fi
> 
> Having the -e trip is something to be avoided.


Seems safe to me. Alexander, could you implement this in all places we
use shadowconfig in maintainer scripts?

I was about doing it, but I'm more confident in your "clean shell"
writing skills...:-)






More information about the Pkg-shadow-devel mailing list