Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 21:01:30 +0200
From:      Tomi Vainio - Sun Finland - <Tomi.Vainio@Sun.COM>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        sparc@FreeBSD.ORG
Subject:   Re: Resetting LOM password ? 
Message-ID:  <15514.11786.245793.398458@gargle.gargle.HOWL>
In-Reply-To: <2898.1016736871@critter.freebsd.dk>
References:  <3C9A2713.6000308@iaces.com> <2898.1016736871@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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

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?15514.11786.245793.398458>