Beruflich Dokumente
Kultur Dokumente
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.