Sie sind auf Seite 1von 1

PresstheSTOPandAkeyssimultaneously,or,onanASCIIterminaloremulator,senda<BREAK>) tohalttheoperatingsystem,ifit'srunning. BootsingleuserfromCDROM(bootcdroms)ornetworkinstall/jumpstartserver(bootnets).For CDmediausetheCDROMlabeled"Installation".Iprompsswordissetyouneedtoknowit Mounttherootpartitionon"/a"."/a"isanemptymountpointthatexistsatthisstageoftheinstallation procedure.Forexample: #mount/dev/dsk/c0t0d0s0/a Ifthemountcommandfailsandsince"/a"alwaysexists,thenyoueithertypedinthewrongdevice,OR thesystemisseeingtherootpartitionassomethingelse. Doa"ls/tmp/dev/dsk"andseewhatisthere."c0t6"thingsaretheCDROM,whatisleftiswhatone needstotry.OnaBlade1000/2000,choose/dev/dsk/c1t1d0s0,andexecute:#mount/dev/dsk/c1t1d0s0 /a Setyourterminaltypesoyoucanuseafullscreeneditor,suchasvi.Youcanskipthisstepifyouknow howtouse"ex"or"vi"fromopenmode.

Ifyou'reonasunconsole,type"TERM=sun;exportTERM"; IfyouareusinganasciiterminalorterminalemulatoronaPCforyourconsole,setTERMto theterminaltypeforexample:TERM=vt100;exportTERM. Editthepasswdfile,/a/etc/shadow(orperhapsinolderversions,/etc/passwd)andremovethe encryptedpasswordentryforroot. Type:"cd/;then"umount/a" Rebootasnormalinsingleusermode("boots").Therootaccountwillnothaveapassword.Giveita newoneusingthepasswdcommand.PROMpasswords:Naturally,youmaynotwantanyonewith physicalaccesstothemachinetobeabletodotheabovetoerasetherootpassword.Sunshavea securitypasswordmechanisminthePROMwhichcanbeset(thisisturnedoffbydefault).Theman pagefortheeepromcommanddescribesthisfeature. Ifsecuritymodeissetto"command",themachineonlybebootedwithouttheprompasswordfromthe defaultdevice(i.e.bootingfromCDROMorinstallserverwillrequiretheprompassword).Changing therootpasswordinthiscaserequiresmovingthedefaultdevice(e.g.thebootdisk)toadifferentSCSI target(orequivalent),andreplacingitwithasimilarlybootabledeviceforwhichtherootpasswordis known.Ifsecuritymodeissettofull,themachinecannotbebootedwithouttheprompassword,even fromthedefaultdevice;defeatingthisrequiresreplacingtheNVRAMonthemotherboard."Full" securityhasitsdrawbacksif,duringnormaloperations,themachineispowercycled(e.g.byapower outage)orhalted(e.g.bySTOPA),itcannotrebootwithouttheinterventionofsomeonewhoknows theprompassword.

Das könnte Ihnen auch gefallen