useradd

sinck@ugive.com sinck@ugive.com
Thu, 7 Sep 2000 07:30:02 -0700 (MST)


\_ I've got a problem with adding new users to a RH 6.2 system.  useradd says
\_ => adduser: error locking group file...
\_ 
\_ I've tried cp'ing new group and passwd files to the problem machine.  I've
\_ even cp'ed a new binary of useradd just in case the binary got
\_ corrupted.  Any ideas?

Someone (root) is editing the file?  A system flock() call was issued
but not unflocked?  Bad privs/ownership?

David
ps unflocked is really flock() with differnt arguments....