Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!purdue!mentor.cc.purdue.edu!gerrit From: gerrit@mentor.cc.purdue.edu (Gerrit Huizenga) Newsgroups: comp.sys.next Subject: Re: changing su password in netinfo Summary: Solution Message-ID: <3760@mentor.cc.purdue.edu> Date: 28 Aug 89 06:41:05 GMT References: Distribution: comp Organization: Purdue University Computing Center Lines: 14 In article , mdixon@thelonius.PARC.xerox.com (Mike Dixon) writes: > somehow we've lost the su password to one of our machines. if it were > a vanilla unix box i'd just boot it single user and hack the > /etc/passwd file, but with netinfo running that's not enough. i can't > seem to niload the new passwd file without netinfo running, but of > course if i run netinfo i can't log in su & hence can't do the niload. Simple solution: boot single user (bsd -s), start up /usr/etc/portmap and then /usr/etc/nibindd. Give it a second to init the netinfod's, and then you can use niload to enter a new root passwd into the local database (prepare a file with the single /etc/passwd line you want to use and then "niload passwd . < your_new_file". gerrit