Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 1996 15:30:21 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        phace@eden.com (Tony Montana)
Cc:        dgy@rtd.com, questions@FreeBSD.org
Subject:   Re: Cannot add users
Message-ID:  <199607241330.PAA03439@gilberto.physik.rwth-aachen.de>
In-Reply-To: <Pine.BSD/.3.91.960724072404.14385D-100000@matrix.eden.com> from Tony Montana at "Jul 24, 96 07:37:30 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> On Wed, 24 Jul 1996, Don Yuniskis wrote:
> 
> > > When attempting to execute the 'adduser' command as root on my FreeBSD
> > > R2.1 box i get the following:
> > > 
> > > pwd_mkdb: /etc/master.passwd: Permission denied
> > > Invalid /etc/master.passwd - cannot add any users!
> > > 
> > > The permissions are set correctly:
> > > -rw------- 1 root wheel 1018 Jul 24 03:33 master.passwd
> > 
> > I assume you're running as root at the time?  
> yes i am root
> 
> > And, the permissions for /etc are OK? 
> Yes they are correct (see above)
>  
> > Does vipw allow you to manually  change/add to the password database 
> (or, does it blow up, too?) 
> This is what i get:
> 
>   /etc/pw.000623:13 lines, 719 characters.
>   vipw: rebulding the database...
>   pwd_mkdb: corrupted entry
>   pwd_mkdb: at line #13
>   pwd_mkdb: /etc/pw.000623: Inappropriate file type or format
>   re-edit the password file? [y]:

Aha! And what does line 13 look like? Did you ommit the :0:0 fields?


> 
>  
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607241330.PAA03439>