Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2009 10:47:03 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Bert-Jan" <info@bert-jan.com>
Cc:        freebsd-questions@freebsd.org, cperciva@freebsd.org
Subject:   Re: Login accounts don't work after update to 7.1
Message-ID:  <44aba0xz0o.fsf@be-well.ilk.org>
In-Reply-To: <9d5014697dd38400633bdcdd89c9e875.squirrel@admin.bert-jan.com> (Bert-Jan's message of "Fri\, 9 Jan 2009 09\:45\:25 %2B0100 \(CET\)")
References:  <20af5b6d6703bc7b2575a763e7c70822.squirrel@admin.bert-jan.com> <44k595qz3o.fsf@be-well.ilk.org> <9d5014697dd38400633bdcdd89c9e875.squirrel@admin.bert-jan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Bert-Jan" <info@bert-jan.com> writes:

> I do find it strange though, that freebsd-update replaced those files,
> even though it tells you it's going to change them.

I don't use freebsd-update, so I'm just trying to figure it out from
reading the program.  [freebsd-update is mostly just a shell script]

> What is the proper way to handle this ? Can I run a command after the
> update finishes that regenerates the account databases from the
> master.passwd ? I checked the history and *I* never touched it during the
> update, so it was merged like it should.

I'm not sure what the proper way is; there's certainly code in there to
update the databases automatically, so you *shouldn't* have to do
anything.  To do the same thing manually, you can use pwd_mkdb(8).  When
you edit the password database with vipw(8), this is handled for you.

I'd recommend trying to reproduce the problem on a spare machine, so we
can understand it better.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



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