Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 1999 10:50:45 -0700
From:      "David Anderson" <DRCAnderson@xtra.co.nz>
To:        "Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Help Please - Newbie Adding User 
Message-ID:  <047f01be8f44$3c937f40$9ac4fea9@dynasite98>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi
I have logged on as root and are attempting to add myself as a user with csh shell.


(i) When I try the adding user via 
myname# adduser 

i get the following error report.........
pwd_mkdb:root uid should be 0
pwd_mkdb: at line 16
pwd_mkdb: /etc/master.pwd: Inappropriate file type or format.

(ii) Alternatively using vipw 
pwd_mkdb:root uid should be 0
pwd_mkdb: at line 16
pwd_mkdb: /etc/master.pwd: Inappropriate file type or format.
re-edit the password file? [y]

Please can somebody tell me what is happening here? 
Thanks for any help offered.
David Anderson

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2><FONT size=3>Hi</FONT></FONT></DIV>
<DIV>I have logged on as root and are attempting to add myself as a user with 
csh shell.</DIV>
<DIV><FONT color=#000000 size=2><FONT size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2><FONT size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>(i) When I try the adding user via 
</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3><STRONG>myname# adduser 
</STRONG></FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>i get the following error 
report.........</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3></FONT></FONT><STRONG>pwd_mkdb:root 
uid should be 0</STRONG></DIV>
<DIV><STRONG>pwd_mkdb: at line 16</STRONG></DIV>
<DIV><STRONG>pwd_mkdb: /etc/master.pwd: Inappropriate file type or 
format.</STRONG></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>(ii) Alternatively using 
<STRONG>vipw </STRONG></FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3><STRONG>
<DIV><STRONG>pwd_mkdb:root uid should be 0</STRONG></DIV>
<DIV><STRONG>pwd_mkdb: at line 16</STRONG></DIV>
<DIV><STRONG>pwd_mkdb: /etc/master.pwd: Inappropriate file type or 
format.</STRONG></DIV>
<DIV>re-edit the password file? [y]</DIV>
<DIV>&nbsp;</DIV></STRONG>
<DIV>Please can somebody tell me what is happening here? </DIV>
<DIV>Thanks for any help offered.</DIV>
<DIV>David Anderson</DIV></FONT></FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?047f01be8f44$3c937f40$9ac4fea9>