Subject: Re: off topic: Passwords
To: Paul I. Castle <picastle@meer.net>
From: Christopher R. Bowman <crb@ChrisBowman.com>
List: port-next68k
Date: 12/14/1998 05:43:06
At 12:54 AM 12/14/98 -0800, Paul I. Castle wrote:
>>> A few weeks ago a friend gave a NeXT-Station to me. It has NeXTStep on it
>>> and runs quite well, but we have no password to get into Workspace. Are
>>> there any tricks to get into it without having the root(or
>>> admin???)-Password?
>
>ME TOO! I've been wrestling with this problem for a couple of weeks now!
>
>>The solution given before may not work, since that will change AFAIK
>>the /etc/passwd file, which is normally not consulted when running in
>>multiuser mode. Normally the netinfo local domain will be used, and *snip*
>
>That's exactly what I thought, having tried to hack the problem from
>the BSD side....but I just tried it AND IT WORKED!!!
>
>weird.
>
>>Check out the NeXTanswers section at Apple's site, they have a Q&A on it.
>>       http://www.apple.com/enterprise/
>
>A good suggestion, it's a very helpful site. However considering the sheer
>volume of information contained therein it can be it bit of fishing
>expedition. Choose your search parameters wisely, Grasshopper.
>
>
>
>Paul Castle
>
>picastle@meer.net
>http://www.daddybird.com/

Also from single user mode, you can backup the old Netinfo database by mv
/etc/netinfo /etc/netinfo.backup and then copy a fresh clean version by cp -r
/usr/template/client/etc/netinfo /etc then restart the cube with shutdown -r
now and your machine will come up with its admin database just like it was
when
it came out of the box, but all the user directories will be untouched. 
--------
Christopher R. Bowman
crb@ChrisBowman.com
http://www.ChrisBowman.com/