[Pkg-shadow-devel] Issue with concurrent usage of gpasswd

Loris lboillet69 at gmail.com
Fri Apr 13 09:27:11 UTC 2012


Hi,

On a Debian Lenny system, I had the issue where these two commands
were executed at the same time:
 adduser foo bargroup
 adduser foo2 bargroup

The unexpected result was that only foo2 was added to bargroup. I
looked at the changelog of the shadow program and from that I would
assume that this behaviour is the same with the later versions.

I guess that gpasswd (which is called by the adduser script) does not
lock /etc/group? Or is it a bug?

Thanks,

Loris



More information about the Pkg-shadow-devel mailing list