* Convert EnHANCED to base files passwd
@ 2000-04-14 4:00 Jes�s M. Palero Cuenca
2000-04-17 4:00 ` Nikola Milutinovic
0 siblings, 1 reply; 2+ messages in thread
From: Jes�s M. Palero Cuenca @ 2000-04-14 4:00 UTC (permalink / raw)
We have machines with C2 security (protected password database auth.db) and
the hashed basic user databese created (passwd.pag y passwd.dir).
We question is:
Somebody knows any utility that with this information (auth.db and
passwd.pag and passwd.dir) could recreate the /etc/passwd file? (if the
/etc/passwd file dont exists becuase it has been deleted, for example).
We knows the utilities convauth, convuser, mkpasswd, etc. for changing from
/etc/passwd to these files, but we want the reverse change.
THANKS A LOT.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Convert EnHANCED to base files passwd
2000-04-14 4:00 Convert EnHANCED to base files passwd Jes�s M. Palero Cuenca
@ 2000-04-17 4:00 ` Nikola Milutinovic
0 siblings, 0 replies; 2+ messages in thread
From: Nikola Milutinovic @ 2000-04-17 4:00 UTC (permalink / raw)
"Jesús M. Palero Cuenca" wrote:
>
> We have machines with C2 security (protected password database auth.db) and
> the hashed basic user databese created (passwd.pag y passwd.dir).
>
> We question is:
> Somebody knows any utility that with this information (auth.db and
> passwd.pag and passwd.dir) could recreate the /etc/passwd file? (if the
> /etc/passwd file dont exists becuase it has been deleted, for example).
>
> We knows the utilities convauth, convuser, mkpasswd, etc. for changing from
> /etc/passwd to these files, but we want the reverse change.
Well, you've definitely lost information. Some fields of /etc/passwd are never
converted to auth.db. So, /etc/passwd.pag|dir are your only copy of the
information. They are created using ndbm library (man ndbm). Your only bet is to
find or write a utility that will open that hashed version of /etc/passwd and
read out all records. It shouldn't be too difficult.
Nix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-17 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-14 4:00 Convert EnHANCED to base files passwd Jes�s M. Palero Cuenca
2000-04-17 4:00 ` Nikola Milutinovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox