InfoDoc ID   Synopsis   Date
44368   What to do when you have lost the Netra[TM] X1 LOM Password   12 Jun 2002

Status Issued

Description
What to do when you have lost the Netra[TM] X1 LOM Password


If you do not know your lom password and are unable to log in to the lom prompt, but you can telnet and login as root on the console. 
    
If you do not know your lom password and are unable to log in to the lom prompt, and you can not log in to the box due to:
    
    * Not knowing the IP address or the host name. 
        
    * The system is not configured to allow root logons from non-system console. 
        
    
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 disable 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 passwords have been removed at step 7 above, you
may shut the system down and replace the original disk drive. 

Keywords: netra, x1, lom, lost, password, passwords      
INTERNAL SUMMARY:
    hank.danico@sun.com      
SUBMITTER: Henry Danico APPLIES TO: AFO Vertical Team Docs/Hardware, AFO Vertical Team Docs/NetAdmin ATTACHMENTS:


Copyright (c) 1997-2003 Sun Microsystems, Inc.