cisco Prime 3.4 reset shell account password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2020 02:02 AM
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
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2020 10:06 AM
- Type shell disable followed by shell ; it may then prompt for a new shell password.
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2020 12:19 PM
Hi @marce1000 ;
thanks for your help , unfortunately when i type shell disable , they ask me to enter password as shown in screenshot attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020 01:03 AM
- Check the last reply from this thread :
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020 01:22 AM
hi @marce1000 ;
thanks for link , but the solution given for forget shell password are applicable for virtual solution not for physical appliance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020 02:20 AM
- 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.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020 10:22 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2020 12:33 AM
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2020 03:40 AM
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:
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
