Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset root/ipcs password for SBC 8.1

Status
Not open for further replies.

shermosillo

Vendor
Jun 15, 2012
77
US
We have a new customer that has an SBC on 8.1 and they don't have the credentials. I found documentation to reset the root and ipcs account, but having an issue. Below is what documentation states. I am getting stuck on step 3. I enter "rd.break" at the end of that line. When I enter Ctrl+x, then it boots normally. I have tried with a space and no space. Not sure if I am supposed to start a new line. Does anyone have any ideas?

Procedure
1. At the boot menu, press e to edit the first boot entry.
2. (Optional) If the server prompts you to enter the user name and password for the grub
menu, enter the user name as root and password as @V@Y@_123.
3. From the grub options, navigate to the end of the line that starts with linux16 and enter:
rd.break
4. Press Ctrl+x.
This option will boot to the initramfs prompt with a root shell.
The root file system is mounted in read-only mode to /sysroot and must be remounted
with read/write permissions to make changes.
5. To remount the root file system with read/write permissions, run the following command:
mount -o remount,rw /sysroot
6. Once the file system has been remounted, run the command:
chroot /sysroot
7. To reset the password, do one of the following:
• To reset the root password, run the following command:
echo “root:SIPera_123” | chpasswd
• To reset the root password, run the following command:
echo “ipcs:SIPera_123” | chpasswd
You can enter any password in place of SIPera_123.
8. Enter the exit command twice.
Once the reboot has completed, you can use the root or ipcs account with the newly set
password.
 
You can try the other method:

[ul]
[li]Edit boot menu by pressing e[/li]
[li]Find the linux16 line and scroll across to where it has 'ro'[/li]
[li]Change this from 'ro' to 'rw init=/sysroot/bin/sh'[/li]
[li]Boot the system with Ctrl+X[/li]
[li]Mount the root filesystem with command: 'mount -o remount,rw /sysroot'[/li]
[li]Change your root so you can modify the system using command: 'chroot /sysroot/'[/li]
[li]Proceed from item 7 on your list[/li]
[/ul]

Good luck [roll2]

Cheers,
BFG9K
Avaya IPO/ACCS Technician
Melbourne, Australia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top