Date: Thu, 21 Mar 2002 20:08:28 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Tomi.Vainio@Sun.COM Cc: sparc@FreeBSD.ORG Subject: Re: Resetting LOM password ? Message-ID: <3036.1016737708@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 21 Mar 2002 21:01:30 %2B0200." <15514.11786.245793.398458@gargle.gargle.HOWL>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Tomi, Thanks a lot! I was sure there would be some kind of procedure. My only problem now is that I have no root login and no other X1 to trade disk with :-( I was sort of hoping there would be a reset-jumper for this, but I guess I'm not that lucky. I'll try to see what I can come up with based on what this document outlines. Again, thanks a lot! Poul-Henning In message <15514.11786.245793.398458@gargle.gargle.HOWL>, Tomi Vainio - Sun Fi nland - writes: >Poul-Henning Kamp writes: > > > > I have no IDE disks with solaris installed :-( > > > > Besides, I don't see anything relating to modifying the LOM passwords > > in that doc, did I overlook it ? > > >This is what found from sunsolve > > Tomppa > >---clip clip--- > o If you still remember the root password and IP address of the > machine and it is configured to allow root login from non-system > consoles. > > 1. Apply power to the system. > 2. In order to get the system to boot, use the power switch on > the rear of the machine to start the automatic boot process. > 3. Once the system has had a few minutes to boot to UNIX, telnet > or rlogin to the system as the root user from another machine > on the network. > 4. Once logged in, edit the /platform/sun4u/kernel/drv/lom.conf > file and modify the line that reads 'serial_security=1' to > read 'serial_security=0'. Write the modified file and then > reboot the machine - issue an 'init 6' or 'reboot' command. > 5. As the system boots it will examine this file as part of the > boot process and will disbale the security passwords setup in > the LOM processor, allowing access to the LOM without > passwords. > 6. On the LOM/Console port, issue the '#.' escape sequence to > access the LOM, and use the 'usershow' command to list the > users that have been configured. > 7. Use the 'userdel' command to delete the users and their > passwords. > 8. The system is now configured without serial security, to > issue the 'console' command to get back to the system > console. > 9. Edit the /platform/sun4u/kernel/drv/lom.conf file and modify > the line that reads 'serial_security=0' to read > 'serial_security=1' to re-enable the security checks > following the next system reboot. > > o If you cannot remember the system root password, or the system is > not configured to allow root logons from non-system consoles, or > you do not know the IP address of the machine, you must use > another machine to overcome the problem. Locate another X1 that > does not have the security problem above, you will need to make > some modifications to this machines setup and then remove the boot > drive from this machine and temporarily place it in the problem > machine. > > 1. Having located another X1, make sure that the following > configurations are correct : > + The root password is known. > + The machine is configured to allow root login from > non-system consoles. Edit the /etc/default/login file on > the machine and insert a '#' at the start of the line > that reads 'CONSOLE=/dev/console'. > + Edit the /platform/sun4u/kernel/drv/lom.conf file and > modify the line that reads 'serial_security=1' to read > 'serial_security=0'. > 2. Power down this machine using 'init 5'. > 3. Remove the top cover of the machine and remove the Boot disk > drive. > 4. Remove the boot disk drive from the problem machine. > 5. Replace it with the boot disk you prepared in the other > machine. > 6. Boot the machine and follow the process above from step 6. > 7. Once the LOM passwds have been removed at the beginning you may > shut the system down and replace the original disk drive. > >-- >SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland >Tomi Vainio (System Support Engineer) +358 9 52556300 hotline >email: Tomi.Vainio@Sun.COM +358 9 52556252 fax > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3036.1016737708>
