From: Steve Donovan Newsgroups: comp.security.unix Subject: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: Fri, 23 Jan 1998 14:07:00 -0500 Organization: Lotus Development Corp. Lines: 5 Message-ID: <34C8EA54.13A6@lotus.com> NNTP-Posting-Host: 9.95.18.225 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01C-Lotus (WinNT; U) Path: ccw.ch!aetna.dolphins.ch!news.planetc.com!leto.ou.edu!hammer.uoregon.edu!arclight.uoregon.edu!newsfeed.internetmci.com!4.1.16.34!cpk-news-hub1.bbnplanet.com!cam-news-feed3.bbnplanet.com!news.bbnplanet.com!door1.lotus.com!usenet One of my users forgot the root password to their Solaris 2.5.1 system. Can someone please point me to a document or resource that contains instructions on how to recover the system? Steve ###### From: Matt bauer Newsgroups: comp.security.unix Subject: Re: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: Fri, 23 Jan 1998 21:55:17 -0600 Organization: University of Wisconsin - Madison Lines: 22 Message-ID: <34C96624.6C65A31A@students.wisc.edu> References: <34C8EA54.13A6@lotus.com> NNTP-Posting-Host: f182-050.net.wisc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.01 [en] (WinNT; I) To: Steve Donovan X-Priority: 3 (Normal) Path: ccw.ch!aetna.dolphins.ch!news.planetc.com!news-xfer.siscom.net!streamer1.cleveland.iagnet.net!qual.net!131.103.1.116!news2.chicago.iagnet.net!iagnet.net!144.92.88.12!newsspool.doit.wisc.edu!wiscnews.wiscnet.net!news.doit.wisc.edu!not-for-mail This could sting a little. Go to the system, type: sync; sync; sync; , then, if you havea sun keyboard, hit stop-a. This will kick you out of the OS and give you the boot prompt. Now, get a boot disk or installation CD-ROM and boot off that. Once the system comes up, ignore the installation and open a shell. Mount the drive with the / filesystem somewhere and edit the passwd file. Simply delete the password entry and leave blank. Bring the system down and reboot normally. You should have a blank passwd for root now. Matt Steve Donovan wrote: > One of my users forgot the root password to their Solaris 2.5.1 > system. > Can someone please point me to a document or resource that contains > instructions on how to recover the system? > > Steve ###### From: murdock@mis.rowan.edu (Andrew Pitman) Newsgroups: comp.security.unix Subject: Re: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: 29 Jan 98 02:50:35 GMT Organization: Rowan University, New Jersey Lines: 34 Message-ID: <34cfee7b.0@news.rowan.edu> References: <34C8EA54.13A6@lotus.com> <34C9668F.11F1C32D@students.wisc.edu> NNTP-Posting-Host: news.rowan.edu X-Newsreader: TIN [version 1.2 PL2] Path: ccw.ch!aetna.dolphins.ch!news.planetc.com!newsfeed.usit.net!news-dc-3.sprintlink.net!news-dc-1.sprintlink.net!news-east.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!Sprint!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsserver.jvnc.net!newsreader.jvnc.net!news.rowan.edu!torch.rowan.edu!murdock Matt bauer (mrbauer1@students.wisc.edu) wrote: : This could sting a little. Go to the system, type: sync; sync; sync; : , then, if you havea sun keyboard, hit stop-a. This will kick : you out of the OS and give you the boot prompt. Now, get a boot disk or : installation CD-ROM and boot off that. Once the system comes up, ignore : the installation and open a shell. Mount the drive with the / : filesystem somewhere and edit the passwd file. Simply delete the : password entry and leave blank. Bring the system down and reboot : normally. You should have a blank passwd for root now. : Matt : Steve Donovan wrote: If they don't have a PROM password, just do a boot -s at the ok prompt or b -s at the > prompt. That'll bring it up in single-user and give you a root shell once the system boots.... Andrew -- |_ _ _ _ _ _| _ _ |_ | ). ( )( ). ( )( ) (_) |~ (_| (_) (_ |\ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Howling Mad) -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzTHnQYAAAEEAKv4OKI19e28TQMxDxx3xyI0MdiD1Il14W+ZfjI70T1MB6JU Yi2qlf+0zwGitZf4eWQNplKYAHhotjsb4hdjNQgu62zSpPs2KvVLIseqU+2RiqiG 9OChF3J8/q+7C9R28++uR2RfFMktplUoJ9mVIjZmE50S+4n0TpGFTy47DTCpAAUR tBBBbmRyZXcgSi4gUGl0bWFu =n5U2 -----END PGP PUBLIC KEY BLOCK----- ###### From: mdw@catbert.ebi.ac.uk (Mark Wooding) Newsgroups: comp.security.unix Subject: Re: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: 29 Jan 1998 16:29:33 GMT Organization: MRC Human Genome Mapping Project Resource Centre Lines: 14 Message-ID: References: <34C8EA54.13A6@lotus.com> <34C9668F.11F1C32D@students.wisc.edu> <34cfee7b.0@news.rowan.edu> Reply-To: mdw@ebi.ac.uk NNTP-Posting-Host: catbert.ebi.ac.uk X-Newsreader: slrn (0.9.3.2 UNIX) Path: ccw.ch!aetna.dolphins.ch!news.planetc.com!newsfeed.usit.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!logbridge.uoregon.edu!Cabal.CESspool!bofh.vszbr.cz!lyra.csx.cam.ac.uk!hgmp.mrc.ac.uk!mdw Andrew Pitman wrote: > If they don't have a PROM password, just do a boot -s at the ok prompt > or b -s at the > prompt. That'll bring it up in single-user and give > you a root shell once the system boots.... Surely that cranks up `sulogin', leaving you staring at a message inviting you to type the root password for maintenance or C-d to continue booting. I think it's install disk time. -- [mdw] `It can't rain all the time.' -- Eric Draven ###### From: "Doug Jaworski" Newsgroups: comp.security.unix Subject: Re: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: 29 Jan 1998 17:22:46 GMT Organization: All USENET -- http://www.Supernews.com Lines: 10 Sender: @207.252.105.103 Message-ID: <01bd2c75$82608000$6769fccf@doug> References: <34C8EA54.13A6@lotus.com> NNTP-Posting-Host: 7789@207.252.105.103 X-Newsreader: Microsoft Internet News 4.70.1155 Path: ccw.ch!aetna.dolphins.ch!news.planetc.com!newsfeed.usit.net!news.he.net!Supernews60!supernews.com!Supernews69!not-for-mail Let me know if you are still having the problem I can be of some help. Steve Donovan wrote in article <34C8EA54.13A6@lotus.com>... > One of my users forgot the root password to their Solaris 2.5.1 system. > Can someone please point me to a document or resource that contains > instructions on how to recover the system? > > Steve > ###### From: ptribble@hgmp.mrc.ac.uk (Peter C. Tribble) Newsgroups: comp.security.unix Subject: Re: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: 29 Jan 1998 17:24:02 GMT Organization: MRC Human Genome Mapping Project Resource Centre Lines: 18 Message-ID: <6aqdvi$2tj$1@niobium.hgmp.mrc.ac.uk> References: <34C8EA54.13A6@lotus.com> NNTP-Posting-Host: titanium.hgmp.mrc.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Path: ccw.ch!aetna.dolphins.ch!news.planetc.com!newsfeed.usit.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!Cabal.CESspool!bofh.vszbr.cz!lyra.csx.cam.ac.uk!hgmp.mrc.ac.uk!not-for-mail In article <34C8EA54.13A6@lotus.com>, Steve Donovan writes: > One of my users forgot the root password to their Solaris 2.5.1 system. > Can someone please point me to a document or resource that contains > instructions on how to recover the system? > > Steve If you're running NIS or NIS+ then create an account with the appropriate privileges (uid 0 or group sys) that can log in remotely and fix the thing. [Group sys has write access to /etc in the default Solaris installation, running fix-modes cures this particular insanity.] No need to even physically touch or reboot the thing. -- -Peter Tribble HGMP Computing Services http://www.hgmp.mrc.ac.uk/~ptribble/ ###### From: murdock@mis.rowan.edu (Andrew Pitman) Newsgroups: comp.security.unix Subject: Re: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: 29 Jan 98 20:48:51 GMT Organization: Rowan University, New Jersey Lines: 20 Message-ID: <34d0eb33.0@news.rowan.edu> References: <34C8EA54.13A6@lotus.com> <34C9668F.11F1C32D@students.wisc.edu> <34cfee7b.0@news.rowan.edu> NNTP-Posting-Host: news.rowan.edu X-Newsreader: TIN [version 1.2 PL2] Path: ccw.ch!aetna.dolphins.ch!news.planetc.com!newsfeed.usit.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.internetmci.com!192.41.171.5!newsserver.jvnc.net!newsreader.jvnc.net!news.rowan.edu!torch.rowan.edu!murdock Mark Wooding (mdw@catbert.ebi.ac.uk) wrote: : Andrew Pitman wrote: : inviting you to type the root password for maintenance or C-d to : continue booting. I think it's install disk time. : -- : [mdw] : `It can't rain all the time.' : -- Eric Draven Hrm..... Things must've changed since SunOS 4, which I remember. -- |_ _ _ _ _ _| _ _ |_ | ). ( )( ). ( )( ) (_) |~ (_| (_) (_ |\ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Howling Mad) ###### Path: ccw.ch!usenet From: Neil.Franklin.remove.this@ccw.ch Newsgroups: comp.security.unix Subject: Re: HELP! One of my users forgot the root password to their Solaris 2.5.1 system. Date: 30 Jan 1998 00:24:53 +0100 Organization: My own Private Self Lines: 19 Message-ID: References: <34C8EA54.13A6@lotus.com> <34C9668F.11F1C32D@students.wisc.edu> <34cfee7b.0@news.rowan.edu> X-Newsreader: Gnus v5.3/Emacs 19.34 Andrew Pitman wrote: > If they don't have a PROM password, just do a boot -s at the ok prompt > or b -s at the > prompt. That'll bring it up in single-user and give > you a root shell once the system boots.... mdw@catbert.ebi.ac.uk (Mark Wooding) gave up: >Surely that cranks up `sulogin', leaving you staring at a message >inviting you to type the root password for maintenance or C-d to >continue booting. I think it's install disk time. No need for an install disk (and possible data loss). Just unplug the inaccessable machines disk and plug it as a second disk into another computer with the same OS (because of understanding the fielsystem). Then just mount it and edit the password out of /mnt/etc/passwd. -- Neil.Franklin.remove.this@ccw.ch, http://www.ccw.ch/Neil.Franklin/ for Geek Code, Papernet, Voicenet, PGP public key see http: Mac, 95 and NT users are CLUEless (Command Line User Environment) If I go missing, its once again my newsfeed that has craped