Bug#394182: [Pkg-shadow-devel] Bug#394182: cppw: copies to /etc/passwd even with -s switch

Christian Perrier bubulle at debian.org
Fri Oct 20 15:58:37 UTC 2006


Quoting C. Chad Wallace (cwallace at lodgingcompany.com):
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Package: passwd
> Version: 1:4.0.18.1-3
> Severity: grave
> Justification: causes data loss
> 
> Since some time after sarge, the cppw program does not recognize the -s
> switch.  When -s is given, it is supposed to copy the file to /etc/shadow,
> but instead it copies it to /etc/passwd, effectively disabling ALL logins.
> 
> I've looked at the code (in debian/patches/401_cppw_src.dpatch), and
> noticed it is checking for the obsolete symbol SHADOWPWD before checking
> for the -s switch.  Since that symbol doesn't exist (The Changelog says it
> has been removed), it goes ahead and copies the file over /etc/passwd
> instead of /etc/shadow.


Thank you for your detailed and extensive bug report. We will of
course discuss it with Nicolas François who co-maintains the package
and I have no doubt that a quick solution will be found within a few
days.





-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20061020/7b0036ce/attachment.pgp


More information about the Pkg-shadow-devel mailing list