APC PDU #3 Howto reset the password under linux and windows step-by-step

Subscribers:
39,000
Published on ● Video Link: https://www.youtube.com/watch?v=JwBUgQwPRuk



Category:
Tutorial
Duration: 29:33
27,765 views
131


A step-by-step tutorial on how to reset the password for the administrator user of an APC PDU both using Linux and Windows for the serial console terminal.
Since the reset procedure needs you to establish a connection to the APC PDU over the serial console, you will need a specialized console cable from APC (model: 940-0144A), or you can also build the cable yourself based on my previous tutorial.


Steps to reset the password:
1.) Attach the serial cable.
2.) Establish a serial console connection to the PDU using a terminal emulator program.
In this tutorial I will be showing you GNU screen under Linux, and Putty under Windows XP.
The setting for the serial port should be set at 9600 baud, 8 data bit, 1 stop bit, no parity bit and no flow control.
3.) Check that you have a working connection to the PDU over the serial port.
4.) Keep the the Reset button on the front panel pushed down for about 10 seconds, shortly release it, and quickly push the button again for a second.
This will initilize the password reset, so for 15 seconds the default username for the administrator user is "apc", and also the password is "apc".
This default username and password will no longer be "apc" once the short period of 15 seconds is over, so you need to act quick.
5.) Go back quick to the serial terminal program, and hit the Enter (Return) key on your keyboard repeatedly until you get prompted for the username and password.
Quickly enter "apc" without the quote marks of course for both.
6.) Through to the CLI menue go to the System menue, from there to User Manager, from there to the Administrator submenu. Now set the desired username and password, confirm the password when prompted, and now the password should be reset.

7.) Once you have a new username and password set up, close your serial terminal session, by pressing in the main menu twice the Escape key and select the option number 4 to log out, because otherwise your serial terminal will stay active, which might be exploited as a vulnerability.


COMMANDS UNDER LINUX:
a) Log is as the root user using sudo or su
b) With dmesg check that your USB-to-Serial cable have been detected by the kernel,
and the driver for the USB-to-Serial cable have been loaded
c) Figure out what is the device name for the USB-to-Serial cable
(most probably this will be /dev/ttyUSB0)
If you use a native serial port, than instead of /dev/ttyUSB0 just use the /dev/tty0 device.
d) Install GNU screen and use it as a serial terminal emulator program.
On Debian based distros:
apt-get install screen
On RedHat based distros:
yum install screen
e) Connect to the serial console of the APC PDU:
screen /dev/ttyUSB0
(screen /dev/tty0 on native serial port)
f) Push the Enter (Return) key a couple of times to establish the
connection over the serial port.
g) Initialize the reset procedure as described above.
h) Once you reset the username and password, to exit from
GNU scree, just press Ctrl+a on your keyboard, next press
the "k" key, and when asked for killing the window, just press "y"
and this will terminate your serial terminal session.




Other Videos By Donkey Learning IT


2017-01-06Cheap home lab build: virtualization server, GNS3 for CCNA-CCNP rack, and ZFS
2016-12-25Building an IKEA Lack Rack on wheels for Cisco CCNA and virtualization home lab
2016-09-24Introduction to RAID arrays, basic concepts, sequential vs. random I/O, mechanical vs. SSD drives
2016-09-10Repair of a Cisco 2960G switch with amber LED via RAM chip replacement (FAIL/defect)
2016-09-03How to reflow a GPU from start to finish #2 reflow process and testing the repaired card
2016-09-02How to reflow a GPU from start to finish #1 preparing the card for BGA reflow
2016-08-30Tools for BGA and SMD rework #2 reballing, IR rework station, flux and profile development
2016-08-24Tools for BGA and SMD rework #1 soldering station, multimeter, screw drivers, microscope
2016-08-16500W Be Quiet! ATX power supply teardown, detailed overview and repair
2016-08-14Corsair VS550 vs Be Quiet! 500W power supply side-by-side comparison and overview
2016-08-02APC PDU #3 Howto reset the password under linux and windows step-by-step
2016-07-28APC 7920 PDU #2 DIY cheap serial console cable for password reset
2016-07-17APC 7920 PDU #1 overview, usage scenarios and teardown
2016-07-11DIY cheap microphone preamp for Canon DSLR #3 case build and putting it together
2016-07-10DIY cheap microphone preamp for Canon DSLR #2 soldering components into PCB
2016-07-10DIY cheap microphone preamp for Canon DSLR #1 component selection and tools
2016-06-04Howto build virtualization home lab #4 HP NC364T cards for GNS3 home lab and MoBo install
2016-06-04Howto build virtualization home lab #3 RAM instal and Fractal Design XL R2 case preparation
2016-06-03Howto build virtualization home lab #2 Thermalright 140BW cooler install on Gigabyte 990FXA-UD5
2016-06-02Howto build virtualization home lab #1 Unboxing 990FXA-UD5, AMD FX 8350, Thermalright 140BW
2016-05-28Howto build virtualization home lab for VMware, KVM, GNS3 and ZFS: Part selection (part2)



Tags:
APC PDU
APC 7920
APC console
APC console cable
APC serial cable
APC reset
APC password reset
APC howto
power supply
power distribution unit
APC electronics