Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2005 19:37:18 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        "matt ." <fasterdisco@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fun with passwd files
Message-ID:  <4388FFBE.2020803@mac.com>
In-Reply-To: <a97e11c20511261445g71f4cabcmef793bca18cc098f@mail.gmail.com>
References:  <a97e11c20511261431h78f26461i69c51028d157e021@mail.gmail.com> <a97e11c20511261445g71f4cabcmef793bca18cc098f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
matt . wrote:
[ ... ]
> The question now is this...I see a switch for pwd_mkdb which is "-p",
> meaning generate a /etc/passwd file.  Going forward, when manually adding a
> new user to /etc/master.passwd, am I now to issue "pwd_mkdb -p <file>" to
> properly update /etc/passwd at the same time?  Seems to me this is the thing
> to do, however it's my first time really messing with this sort of thing...

Set $EDITOR properly, and run "vipw".

That program will let you edit the password file and then update the other 
system-specific password databases correctly.

-- 
-Chuck




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