Date: Mon, 24 Apr 2006 15:55:08 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: john@cruzweb.net Cc: freebsd-questions@freebsd.org Subject: Re: Changing Default Shell Message-ID: <444CE6CC.3050409@dial.pipex.com> In-Reply-To: <444CE0F7.3070303@cruzweb.net> References: <51d7a5160604230303o514d2cabn90179490fc5698f@mail.gmail.com> <20060423094928.2db21ce3.wmoran@collaborativefusion.com> <51d7a5160604230832n310a9ecdkdb49ea301cf1430d@mail.gmail.com> <51d7a5160604230925l1b60cd28v642b00749850514c@mail.gmail.com> <20060424091417.dbb05a6f.wmoran@collaborativefusion.com> <444CD688.4000005@gmail.com> <447j5f2h96.fsf@be-well.ilk.org> <444CE0F7.3070303@cruzweb.net>
next in thread | previous in thread | raw e-mail | index | archive | help
John Cruz wrote: > Lowell Gilbert wrote: > >> Something is wrong with the entry already in the password file. >> Use vipw to (a) look at it, (b) fix it, and (c) rebuild the database. >> >> > > Thanks, that did it! I tried manually editing /etc/passwd before and I > guess there's other ways that have to be done to change it. > If you edit the passwd file manually you should always use vipw. Apart from locking which prevents two people editing at the same time and mucking things up, you also get consistency checking. from man vipw > The vipw utility performs a number of consistency checks on the > password > entries, and will not allow a password file with a ``mangled'' > entry to > be installed. If vipw rejects the new password file, the user is > prompted to re-enter the edit session. --Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444CE6CC.3050409>