Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2006 19:38:10 -0800
From:      Micah <micahjon@ywave.com>
To:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Creating alternate passwd file
Message-ID:  <43CDB822.8010609@ywave.com>

next in thread | raw e-mail | index | archive | help

I'm trying to create a master.passwd file that I can crack as part of a 
demo for an IAS class. I don't want to muck about with my live 
master.passwd or even a copy of it, since the passwords there take too 
long to crack.

I tried copying /usr/src/etc/master.passwd and /usr/src/etc/group to and 
empty folder called /root/crackdemo/  I then did:
pw -V /root/crackdemo/ usermod root -h 0
new password for user root: secret
pw: user 'root' does not exist (NIS?)

I then tried:
pwd_mkdb -d /root/crackdemo/ master.passwd
pw -V /root/crackdemo/ usermod root -h 0
new password for user root: secret
pw: user 'root' does not exist (NIS?)

What did I do wrong?  Any suggestions?

Thanks,
Micah



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