/
Pica8 P-3922 Switch

Pica8 P-3922 Switch

Step1: Power on the switch, and backup the PicOS configuration files. Press Ctrl+C and the Ctrl+U after the display below is shown:

Starting Power-On Self Test ...
The prompt appears very soon after the system boots up. Users need to hit the Enter key fast enough to stop the boot process.

This will boot into the backup Linux. When password prompt is displayed, enter mercury. Then, hit enter:

Password : *******

Hit any key when the display below is shown:

Hit any key to stop autoboot: 5 <Ctrl-C>

Next, enter the following command to boot up backup Linux:

=>run usb_backup_boot 

Press any key to enter the shell when the display below is shown:

sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk<Enter>
#

Step2: mount CF/SD card

# mount /dev/sda1 /tmp

Step3: modify the file

vi /tmp/etc/shadow
change from:
admin:$1$MPwzZjRN$0.HAnb806ysZRLtfR7YGA0:15349:0:99999:7:::
into:
admin::15349:0:99999:7::: <==remove the string between the first and the second colon

step4: sync

# sync
# 

Step5: umount

# umount /tmp

Step6: reboot the switch

# reboot

Step7: boot PicOS. Then, log in by user admin. No password is needed on console port.

[....] Starting: PicOS L2/L3..PowerPC Book-E Watchdog Timer Enabled (wdt_period=29)
........................ ok
XorPlus login: admin
admin@XorPlus$

step8: config the password in linux(set the passwd of admin with command "passwd admin") or in cli.
1) Reseting password in linux:

admin@XorPlus$sudo passwd admin
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
admin@XorPlus$

2) Reseting password in cli:

admin@XorPlus# set system login user admin class super-user 
admin@XorPlus# set system login user admin authentication plain-text-password 123456
admin@XorPlus# commit 
Merging the configuration.
Commit OK.

Copyright © 2025 Pica8 Inc. All Rights Reserved.