Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2000 03:29:20 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        "James A. Mutter" <jmutter@ds.net>
Cc:        Chris Byrnes <chris@shell.jeah.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: AHH [passwd file gone]
Message-ID:  <20000208032920.C3663@strontium.scientia.demon.co.uk>
In-Reply-To: <389F6E8A.1A703A0B@ds.net>
References:  <200002080104.TAA29043@shell.jeah.net> <389F6E8A.1A703A0B@ds.net>

next in thread | previous in thread | raw e-mail | index | archive | help
James A. Mutter wrote:

> Chris Byrnes wrote:
>
>> on one of the boxes i admin, i was testing the anon ftp i setup but i
>> was su'd so when i did "get /etc/passwd" it put that one in /etc/ now
>> the original master.passwd is there but the passwd file is gone
>
> Technically you didn't really need it in the first place - at this
> point, if it wasn't too large you could easily recreate it.

You can easily recreate it anyway - run vipw, save the file and exit
your editor, and /etc/passwd will be recreated. (You need to write
the file, otherwise vipw will assume nothing has changed and won't do
anything.) This assumes, as is true in Chris' case, that master.passwd
hasn't been hurt.

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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