Recovering the password on a TIBCO LogLogic LMI NEBS-3 compliant appliance

Recovering the password on a TIBCO LogLogic LMI NEBS-3 compliant appliance

book

Article ID: KB0077219

calendar_today

Updated On:

Products Versions
TIBCO LogLogic Log Management Intelligence al versions

Description

There are two methods to recover a password on NEBS systems depending on whether the graphical login screen appears. Method 1 will be used if the serial port Graphical Login Screen appears. Method 2 will be used if the serial port Graphical Login Screen “does not” appear.

 Note: You may not have superuser capability to reboot since you do not have a password. In this case, you can reboot from the LogLogic GUI if you have that admin password (Maintenance > System > Reboot).

 Method 1  (When the serial port Graphical Login Screen appears)

1.  Reboot the machine. The NEBS boxes use LILO as a boot loader. You are still using single user mode, but for LILO the steps are as follows:

2.  At the serial port Graphical Login Screen (which lists LogLogic/Failsafe against a red-brown background), press CTRL-x to get to the command-line "boot:" prompt.

3.  Type LogLogic single to boot into single-user mode.

4.  From there you can use the passwd command to change the password for toor and root.

Examples to change the “toor” and “root” passwords:
$ passwd toor
New UNIX password: 
Retype new UNIX password: 
$ passwd root
New UNIX password: 
Retype new UNIX password: 
$

 

Method 2  (When the serial port Graphical Login Screen “does not” appear) 

1.  Reboot the machine.

2.  The BIOS stuff will display with various options to press Ctrl-C, F2, F8, etc. Right after this, you'll see:
LILO 22.8 boot:

3.  It will pause here for about 6 seconds before it displays:
LILO 22.8 boot:
Loading Logapp .
BIOS data check successful

4.  During the 6 second pause, type in the following and press return:
LILO 22.8 boot: logapp single

This will get you to single-user with the root filesystem mounted as read-only. 

5. You will need to remount this filesystem as read-write. To do this you will want to obtain the name of the root filesystem from /etc/fstab. Since there are two similar, but different, filesystem naming conventions in fstab, they are each illustrated below to show how to use each for remounting the disk in read-write mode.

To get the name of the root filesystem:
$ head -5 /etc/fstab
# Begin /etc/fstab
# filesystem   mount-point  fs-type   options          dump fsck-order
#--------------------------------------------------------------------
UUID=a450b78e-0930-4603-b491-c80a0786a45f    /    ext3    defaults    1    1

6.  Now you can remount the file system “read-write” as shown:
$ mount –o remount,rw  UUID=a450b78e-0930-4603-b491-c80a0786a45f  /

7.  Now you can change the toor and root passwords as specified in step 4 under method 1.

 

For the other fstab naming convention, do the following:
$ head -5 /etc/fstab
# Begin /etc/fstab
# filesystem   mount-point  fs-type   options          dump fsck-order
#--------------------------------------------------------------------
/dev/discs/disc0/part1    /    ext3    defaults    1    1
$

$ mount –o remount,rw  /dev/discs/disc0/part1  /

Now you can remount the file system read-write as shown below:
$ mount –o remount,rw  /dev/discs/disc0/part1  /

Now you can change the toor and root passwords as specified in step 4 under method 1.

Issue/Introduction

This article explains the procedures to recover the toor and/or root password on a NEBS-compliant appliance.

Environment

This only applies to the LX2010N NEBS-3 compliant appliance.