[CentOS] Re: centos] Fix passwd/shadow/group files?

Les Mikesell lesmikesell at gmail.com
Thu Jul 14 20:53:34 UTC 2005


On Thu, 2005-07-14 at 15:03, R P Herrold wrote:
> On Wed, 13 Jul 2005, Les Mikesell wrote:
> 
> > I've been copying old passwd/shadow/group files from system to system
> > for ages across different distributions/updates and would like to
> > get them back in sync with each other so the system tools will
> > work.  Now they hang like:
> 
> > Is there some kind of test/diagnostic tool I can use to clean up
> > the parts that don't match anymore?  Preferably one that doesn't
> > hang forever when something is missing....
> 
>    pwck   ?

Good call!  That and the corresponding grpck found a couple of
duplicate lines that seemed to be confusing things.  

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the CentOS mailing list