i have 4 pwd.db

2000-05-18 Thread Dylan parker

I want desencrypt the files pwd.db Help me please




Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: i have 4 pwd.db

2000-05-18 Thread Daniel C. Sobral

Dylan parker wrote:
 
 I want desencrypt the files pwd.db Help me please

Password files are not decryptable by design.

-- 
Daniel C. Sobral(8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

"Sentience hurts."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: i have 4 pwd.db

2000-05-18 Thread Chris D. Faulhaber

On Thu, 18 May 2000, Daniel C. Sobral wrote:

 Dylan parker wrote:
  
  I want desencrypt the files pwd.db Help me please
 
 Password files are not decryptable by design.
 

And encrypted passwords are not stored in pwd.db (see spwd.db)

-
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: i have 4 pwd.db

2000-05-18 Thread Adam

I think he might possibly mean DES-encrypt, if so you need to install the
DES libraries (see sysinstall, configure, dists or compile crypto stuff in
make world) and make sure the links for lib*crypt stuff points to the des
ones, then force password changes (I believe)

On Thu, 18 May 2000, Daniel C. Sobral wrote:

Dylan parker wrote:
 
 I want desencrypt the files pwd.db Help me please

Password files are not decryptable by design.

-- 
Daniel C. Sobral   (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

   "Sentience hurts."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: i have 4 pwd.db

2000-05-18 Thread Jan Koum

On Thu, May 18, 2000 at 08:46:35AM -0400, "Chris D. Faulhaber" [EMAIL PROTECTED] wrote:
 On Thu, 18 May 2000, Daniel C. Sobral wrote:
  Dylan parker wrote:
   
   I want desencrypt the files pwd.db Help me please
  
  Password files are not decryptable by design.
  
 
 And encrypted passwords are not stored in pwd.db (see spwd.db)
 


And the hash itself is of course possible to recover from spwd.db:

$ cat c.c
#include stdio.h
#include stdlib.h
#include sys/types.h
#include pwd.h

struct passwd *pw;

int main()
{
while (pw = getpwent()) {
printf("%s:%s:%d:%d:%d:%d:%s:%s:%s:%s\n", pw-pw_name, pw-pw_passwd,
pw-pw_uid, pw-pw_gid, (int)pw-pw_change, (int)pw-pw_expire,
pw-pw_class, pw-pw_gecos, pw-pw_dir, pw-pw_shell);
}
}
$ make c
$ sudo ./c


-- yan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message