Ciscolightstream2020口令的恢复

发布者:上海IT外包来源:http://www.lanmon.net点击数:4056

Password Recovery Procedure
for the LightStream 2020


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

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.

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
At the single-user prompt, change to the etc directory:
single-user$ cd etc
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.

说明:
以上典型配置有很多已经是厂商停产产品,但是,不少设备往往还有运行,关于该设备的配置或者方案优化,你可以联系蓝盟,我们的资深工程师会给你意外的惊喜!上海蓝盟网络技术有限公司于2002年成立,业务涵盖IT外包、电脑维护、网络维护、网管外包、驻场服务、人员派驻、应急支持、系统集成、网络搬迁、网络升级、数据备份、综合布线、电脑维修、计算机维护、计算机维修,网络改造、网络整理、网络调试、局域网组建、 应急上门、数据恢复、网络咨询、服务管理、运维咨询、ITIL培训、ITSS咨询等,拥有近200名工程师,正在为近500家客户提供“一站式” 的IT外包服务。网址:www.lanmon.com www.lanmon.net 官方微博:http://weibo.com/lanmon2012 咨询电话:4008200159 蓝色学苑:www.bluestudy.net
IT外包
>
400-635-8089
立即
咨询
电话咨询
服务热线
400-635-8089
微信咨询
微信咨询
微信咨询
公众号
公众号
公众号
返回顶部