From: feral@vaxxine.com (Ron Feral)
Subject: Re: Recovering Lost passwd file
Date: 1999/03/11 [thread overview]
Message-ID: <7c8qfd$c3$3@news.vaxxine.com> (raw)
In-Reply-To: mvyD2.730$66.38680@ptah.visi.com
Assuming that your passwd.pag and passwd.dir as in good shape and still
the default locations you can probably just whip up a PERL script to
use getpwent() for each user's information. You can also use the equiv.
C function if you prefer. Just loop through and write the stuff out
in the passwd file format.
This is simpler than bothering with the DBM stuff.
In article <mvyD2.730$66.38680@ptah.visi.com>, ellefson@visi.com says...
>I need to know if there is a way to recover a what appears to be a zeroed
>out passwd file by manipulating the passwd.pag.
prev parent reply other threads:[~1999-03-11 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-04 5:00 Recovering Lost passwd file Ellefson
1999-03-04 5:00 ` Erik Persson
1999-03-08 5:00 ` Allan Hawdon
1999-03-11 5:00 ` Ron Feral [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox