[Bug 5924] {add,del}{user,group}: missing locking support on /etc/ databases

bugzilla at busybox.net bugzilla at busybox.net
Thu Feb 18 06:48:08 UTC 2016


Mike Frysinger <vapier at gentoo.org> changed:

           What    |Removed                     |Added
            Summary|Concurrent "adduser"        |{add,del}{user,group}:
                   |command truncates           |missing locking support on
                   |/etc/passwd and /etc/shadow |/etc/ databases
                   |causes missing "root" user  |

--- Comment #1 from Mike Frysinger <vapier at gentoo.org> ---
we'll want to implement the same algorithm that shadow does.  namely, create an
/etc/xxx.lock file and unlink it when we're done.  that way we're also in sync
with other tools in case people are running them.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the busybox-cvs mailing list