cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3932
Views
0
Helpful
8
Replies

cisco Prime 3.4 reset shell account password

Nadia Bbz
Level 1
Level 1

Dear Team ;

 

we have cisco prime infrastructure appliance , when we type the password of shell account to access Linux , we get this issue  " % Error : invalid shell access password " , how to reset it

 

thanks in advance for help

 

 

8 Replies 8

marce1000
VIP
VIP

 

- Type shell disable followed  by shell ; it may then prompt for a new shell password.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

Hi @marce1000 ;

thanks for your help , unfortunately when i type shell disable , they ask me to enter password  as shown in screenshot attached 

 

 - Check the last reply from this thread :

              https://community.cisco.com/t5/network-management/shell-password-cisco-prime-infrastructure/td-p/3060796

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

hi @marce1000 ;

 

thanks for link , but the solution given for forget shell password are applicable for virtual solution not for physical appliance

 

 - You may then have to re-install the appliance from scratch, make sure that a known shell password is configured during the installation process and restore the Prime environment from backup afterwards,.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

hi @marce1000 

 

thanks so much for your help

 

please could you tell me the procedure for re install ? , because i don't know how to re-install it from CIMC  or an other method

 

 

 

 https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-4/hardware_install/guide/bk_Cisco_Prime_Infrastructure_3_4_Appliance_Hardware_Installation_Guide.html

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

Hi @marce1000 ;

 

thanks so much for your help i greatly appreciate it 

after contacting the support TAC , i solved the issue as follows

 

1-     Please use CENT-OS 7.x, Red hat Linux 7.x  ISO file only for recovering PI shell password. Do not 6.x  or 5.x as described in normal shell password recovery guide as PI 3.5 use 7.5 Red hat linux whose partition is not able to determine by older CENT-OS/REDHAT OS.

 

CentOS-7-x86_64-Minimal.iso

 

 https://mirror.umd.edu/centos/7/isos/x86_64/

 

Shell/root password recovery (for both on physical and virtual appliances), We need to recover the shell using the below procedure:

 

 https://www.cisco.com/c/en/us/support/docs/cloud-systems-management/prime-infrastructure/200760-CLI-Root-User-Password-Recovery-Process.html

 

2- Once booted, type "linux rescue" on prompt and hit ENTER key

 

3- Chose default options for language/keyboard and don't choose network option

 

4- You will see a message as below:

The rescue environment will now attempt to find your Linux installation and mount it under the directory /mnt/sysimage. You can then make any changes required to your system. If you want to proceed with this step choose 'Continue'. You can also choose to mount your file systems read-only instead of read-write by choosing 'Read-only'. If for some reason this process fails you can choose 'Skip' and this step will be skipped and you will go directly to a command shell.

 

Choose "Continue" in this screen

 

5- Once an existing installation is found, it will be mounted to "/mnt/sysimage" location and you will be dropped to command prompt.

 

6- Change root to the PI install location by using following command:

 

# chroot /mnt/sysimage

 

7- Move /storeddata/rootpatchpw

 

#mv /storeddata/rootpatchpw /root/

 

8- Now type "exit" and hit ENTER key

 

9- Type "reboot" and boot into PI