useradd: cannot rewrite password file

Matt Krause krausem at gmail.com
Wed Jun 30 21:42:28 UTC 2004


Ouch.

I had the same problem yesterday, but a rm /etc/*.lock fixed the issue for me.

On Wed, 30 Jun 2004 16:08:05 -0500, Kall, Bruce A. <kall at mayo.edu> wrote:
> 
> I tried that.  There is a .lock file for passwd, shadow, gshadow and
> group in /etc.  I removed all 4 lock files and each time I rerun
> useradd, the lock files show up again with the same result.
> 
> Other suggestions?
> 
> Thanks,
> Bruce
> 
> 
> 
> 
> Matt Krause wrote:
> > check for *.lock files in /etc
> >
> > On Wed, 30 Jun 2004 15:39:22 -0500, Kall, Bruce A. <kall at mayo.edu> wrote:
> >
> >>All of a sudden I am getting this on my Fedora 2 system that has been up
> >>and running fine for some time when I try to add a new user with
> >>useradd.  All I can find in bugzilla is a NOTABUG reference (116391) to
> >>shadow.  Any suggestions on how to fix this?
> >>
> >>Thanks
> >>
> >>
> >>--
> >>fedora-list mailing list
> >>fedora-list at redhat.com
> >>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >>
> >
> >
> >
> 


-- 
Matt Krause
krausem at gmail.com
http://www.mattkrause.net





More information about the fedora-list mailing list