Contents Description Step-by-Step Procedure Related Information -------------------------------------------------------------------------------- Description This document describes the password recovery procedure for the LightStream 2020. The following procedure erases your current password and allows you to specify a new one. All other configurations will remain the same. Note: It is not possible to recover an old password. Step-by-Step Procedure 1.To recover a password, for instance if you cannot access the root account: Type `. to get a Test and Control System (TCS) hub prompt. user name:`. TCS HUB<> 2.At the TCS hub prompt, use reset and connect to reset the NP card. Note: Be prepared to press Enter at the prompt, as shown below. TCS HUB<> reset 1 TCS HUB<> connect 1 Memory Autosizing...(32Meg)...Done Clearing 32Meg Memory...Done NP1 POST Version 0.220 Nov 23 1994 NP1 POST SUMMARY: ---------------- 0 Tests Failed System will boot in 5 seconds: hit to interrupt. Press Enter now. 3.Choose option 5 to boot the system for a single-user: Network Processor bootstrap(version 1.3: Sep 13 1993) 1 - Boot ATM switch application 2 - Begin full installation with boot from floppy disk 3 - List contents of hard disk root directory 4 - List contents of floppy disk root directory 5 - Boot system single-user 6 - Escape to full set of bootstrap options 7 - Extended help Option> 5 booting: drive:0, partition:0, kernel:"lynx.os", flags:0x4100 Resetting SCSI bus Kernel linked for 0xea010000 LOAD AT 0x10000 483328+49152+262564[+62796+51901] TOTAL SIZE: 909744 at 0x1001c START AT 0x10020 NP memory size: 32 MB ILACC: EEPROM enet addr:8:0:8:0:ae:61, Silicon Rev:0x5, IB:0xea1dfce0 virtual console: IB: 0xea1dfe68 NCR 53C710: Chip Revision: 0x2, IB: 0xec18e000 LynxOS/68040-MVME167 Version 2.1.0 Copyright 1992 Lynx Real-Time Systems Inc. All rights reserved. LynxOS release 2.1.0, level 1: NP-LynxOS #112: compiled Nov 08 1994 19:49:33 Single-user boot 4.At the single-user prompt, change to the etc directory: single-user$ cd etc 5.Using vi, or a similar editor, remove the encrypted password fields (marked with ^^^) for each account in the passwd file: single-user$ vi passwd From root:I4ecBSBzgWj8Y:0:0::/:/bin/bash ^^^^^^^^^^^^^ fldsup:QcK54TedA2I/M:1:0::/usr/fldsup:/bin/bash ^^^^^^^^^^^^^ npadmin:YkMkeWw12RSsk:2:0::/usr/npadmin:/bin/bash ^^^^^^^^^^^^^ oper:3rAfI240uTh/M:3:0::/usr/oper:/bin/bash ^^^^^^^^^^^^^ To root::0:0:/:/bin/bash fldsup::1:0::/usr/fldsup:/bin/bash npadmin::2:0::/usr/npadmin:/bin/bash oper::3:0::/usr/oper:/bin/bash Verify the changes: single-user$ more passwd root::0:0:/:/bin/bash fldsup::1:0::/usr/fldsup:/bin/bash npadmin::2:0::/usr/npadmin:/bin/bash oper::3:0::/usr/oper:/bin/bash If the changes look satisfactory, then log out: single-user$ logout Note: Do not type `. , as this will corrupt the password file and take you back to the start of the process. LynxOS Startup: m fsck /dev/sd0a (all sizes and block numbers in decimal) (file system creation time is Thu Apr 27 11:27:01 1995) checking used files recovering orphaned files putting orphaned files in /lost+found making free block list making free inode list * fixed link count inode 1 was 20 is 21 46124 free blocks 3262 free inodes *** FILE SYSTEM /dev/sd0a WAS MODIFIED *** *** reboot -d IF /dev/sd0a IS MOUNTED! *** REBOOTING! **** LynxOS [rebooted by /bin/reboot] is down **** Memory Autosizing...(32Meg)...Done Clearing 32Meg Memory...Done NP1 POST Version 0.220 Nov 23 1994 NP1 POST SUMMARY: ---------------- 0 Tests Failed booting: drive:0, partition:0, kernel:"lynx.os", flags:0x5104 Resetting SCSI bus Kernel linked for 0xea010000 LOAD AT 0x10000 483328+49152+262564[+62796+51901] TOTAL SIZE: 909744 at 0x1001c START AT 0x10020 NP memory size: 32 MB ILACC: EEPROM enet addr:8:0:8:0:ae:61, Silicon Rev:0x5, IB:0xea1dfce0 virtual console: IB: 0xea1dfe68 NCR 53C710: Chip Revision: 0x2, IB: 0xec18e000 LynxOS/68040-MVME167 Version 2.1.0 Copyright 1992 Lynx Real-Time Systems Inc. All rights reserved. LynxOS release 2.1.0, level 1: NP-LynxOS #112: compiled Nov 08 1994 19:49:33 Single-user boot single-user$ Type `. to get a TCS hub prompt: single-user$ `. TCS HUB<> Reset the NP card: TCS HUB<> reset 1 TCS HUB<> connect 1 Memory Autosizing...(32Meg)...Done Clearing 32Meg Memory...Done NP1 POST Version 0.220 Nov 23 1994 NP1 POST SUMMARY: ---------------- 0 Tests Failed System will boot in 5 seconds: hit to interrupt. /* Don't hit RETURN */ System will boot in 4 seconds: hit to interrupt. System will boot in 3 seconds: hit to interrupt. System will boot in 2 seconds: hit to interrupt. System will boot in 1 seconds: hit to interrupt. booting: drive:0, partition:0, kernel:"lynx.os", flags:0x4108 Resetting SCSI bus Kernel linked for 0xea010000 LOAD AT 0x10000 483328+49152+262564[+62796+51901] TOTAL SIZE: 909744 at 0x1001c START AT 0x10020 NP memory size: 32 MB ILACC: EEPROM enet addr:8:0:8:0:ae:61, Silicon Rev:0x5, IB:0xea1dfce0 virtual console: IB: 0xea1dfe68 NCR 53C710: Chip Revision: 0x2, IB: 0xec18e000 LynxOS/68040-MVME167 Version 2.1.0 Copyright 1992 Lynx Real-Time Systems Inc. All rights reserved. LynxOS release 2.1.0, level 1: NP-LynxOS #112: compiled Nov 08 1994 19:49:33 LynxOS Startup: ma fsck /dev/sd0a (all sizes and block numbers in decimal) (file system creation time is Thu Apr 27 18:27:01 1995) checking used files recovering orphaned files making free block list making free inode list 46124 free blocks 3262 free inodes fsck /dev/sd0b (all sizes and block numbers in decimal) (file system creation time is Thu Apr 27 18:27:22 1995) checking used files recovering orphaned files making free block list making free inode list 43086 free blocks 3532 free inodes fsck /dev/sd0c (all sizes and block numbers in decimal) (file system creation time is Thu Apr 27 18:27:43 1995) checking used files recovering orphaned files making free block list making free inode list 31519 free blocks 3612 free inodes fsck /dev/sd0d (all sizes and block numbers in decimal) (file system creation time is Thu Apr 27 18:28:01 1995) recovering orphaned files making free block list making free inode list 65132 free blocks 4367 free inodes Mounting all filesystems You can now see the password installation prompt. Provide new passwords for each account as necessary: The following accounts do not have passwords: root fldsup npadmin oper Install a password on the root account? (y/n) [y] y Changing password for root Enter new password: Retype new password: Install a password on the fldsup account? (y/n) [y] y Changing password for fldsup Enter new password: Retype new password: Install a password on the npadmin account? (y/n) [y] y Changing password for npadmin Enter new password: Retype new password: Install a password on the oper account? (y/n) [y] y Changing password for oper Enter new password: Retype new password: Starting VM system ... Virtual Memory Engaged! inetd started Starting crond ... Initializing the switch hardware interface ... Using switch A, cards are NOT synchronized, fast cutover is supported PCP version: 0x410, CMP version: 0x12, FSU version 0x109 Starting the switch software LightStream 2020 Version 2.0.6 Copyright 1993 LightStream Corp. All rights reserved. Portions copyright 1992 by Lynx Real-Time Systems Inc., 1983 by the Regents of the University of California, 1988 and 1990 by Paul Vixie, and 1991 by SNMP Research Inc. This software contains unpublished proprietary and trade secret information of LightStream Corp. LightStream 2020 Software provided to the U.S. Government is subject to the notices on the software and on the LightStream user documentation copyright page. PROGRAM: cbuf: (ls2_0) compiled Nov 08 1994 @ 23:33:35 [pid:50] Login as root and check the new password: user name: root password: This completes the LightStream 2020 password recovery procedure. |