Bug#360179: [Pkg-shadow-devel] Bug#360179: passwd: useradd creates home directories owned by root by default

Christian Perrier bubulle at debian.org
Fri Mar 31 16:00:24 UTC 2006


severity 360179 serious
patch 360179 pending
thanks

Quoting Christian Perrier (bubulle at debian.org):
> Package: passwd
> Severity: important
> 
> Quoting Dalibor Straka (dast at panelnet.cz):
> > Hello,
> > 
> > I've found sth weird what could be a bug or a bad ;-) feature
> > useradd.c is missing one line in 
> >     static void create_home (void)
> >         chown (user_home, user_id, user_gid);
> > 
> > It creates a directory always owned by root. Is that what we want?


As Nicolas François pointed, the culprit here is the
467_useradd_-r_LSB patch I provided but which has not been applied
upstream yet.

This bug then becomes Debian specific...

I turn its severity to "serious" to prevent passwd to enter testing as
is....

Tagging as pending as well, because Nicolas commited a fix.


Thanks again to Dalibor for pointing this nasty bug which is
definitely *not* a feature.




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


More information about the Pkg-shadow-devel mailing list