Application Delivery Management

How to reset the password for Citrix ADM

The procedure to reset the password for Citrix ADM might differ on hypervisors where it is hosted. If you have changed your default password and want to reset to default password, you can reset the password by rebooting the Citrix ADM node.

Citrix Hypervisor using XenCenter:

  1. Log on to Citrix Hypervisor using XenCenter.

  2. Select the Citrix ADM node, right-click, and select Reboot.

  3. On the Console tab, press CTL + C to interrupt the boot sequence.

    Reset-password

  4. Run boot -s command at the OK prompt.

    Reset-password

    Citrix ADM reboots and displays the following message:

    Reset-password

  5. Press Enter to get the /u@ prompt.

    Reset-password

  6. Mount the flash partition using the following command:

    mount dev/ad0s1a /flash

    Reset-password

  7. Create a file using the following command:

    touch /flash/mpsconfig/.recover

    The password is now reset to default password.

  8. Run the Reboot command to reboot Citrix ADM.

    Reset-password

  9. Access the Citrix ADM GUI and wait until the reboot is complete.

    Reset-password

    You can now use nsroot/nsroot credentials to log on from GUI and nsrecover/nsroot to log on from hypervisor.

    Note

    After you reboot, if the password has not reset to default password, repeat the same procedure (step 1 to step 7). Then, run the following commands and reboot Citrix ADM:

    • rm /flash/mpsconfig/master.passwd

    • rm –rf /etc/passwd

Esx using vSphere:

  1. Log on to ESX using vSphere.

  2. Select the Citrix ADM node, right-click, and then select Reboot.

  3. On the Console tab, press CTL + C to interrupt the boot sequence.

    Reset-password

  4. Run boot -s command in the OK prompt.

    The Citrix ADM reboots.

  5. Press Enter to get the /u@ prompt.

  6. Mount the flash partition using the following command:

    mount dev/da0s1a /flash

  7. Create a file using the following command:

    touch /flash/mpsconfig/.recover

    The password is now reset to default password.

  8. Run the Reboot command to reboot Citrix ADM.

  9. Access the Citrix ADM GUI and wait until the reboot is complete.

    Reset-password

    You can now use nsroot/nsroot credentials to log on from GUI and nsrecover/nsroot to log on from ESX server.

    Note

    After you reboot, if the password has not reset to default password, repeat the same procedure (step 1 to step 7). Then, run the following commands and reboot Citrix ADM:

    • rm /flash/mpsconfig/master.passwd

    • rm –rf /etc/passwd

Hyper-v using Hyper-v manager:

  1. Log on to hyper-v using hyper-v manager.

  2. Select the Citrix ADM node, right-click, and then select Reboot.

  3. On the Console tab, press CTL + C to interrupt the boot sequence.

    Reset-password

  4. Run the boot -s command at the OK prompt.

    The Citrix ADM reboots.

  5. Press Enter to get the /u@ prompt.

  6. Mount the flash partition using the following command:

    mount dev/ad0s1a /flash

  7. Create a file using the following command:

    touch /flash/mpsconfig/.recover

    The password is now reset to default password.

  8. Run the Reboot command to reboot Citrix ADM.

  9. Access the Citrix ADM GUI and wait until the reboot is complete.

    Reset-password

    You can now use nsroot/nsroot credentials to log on from GUI and nsrecover/nsroot to log on from hyper-v manager.

    Note

    After you reboot, if the password has not reset to default password, repeat the same procedure (step 1 to step 7). Then, run the following commands and reboot Citrix ADM:

    • rm /flash/mpsconfig/master.passwd

    • rm –rf /etc/passwd

Linux KVM server (SSH to KVM Server by using any SSH client):

  1. Log on to Citrix ADM using an SSH client to the KVM server.

  2. Reboot Citrix ADM.

  3. Press CTL + C to interrupt the boot sequence shortly after the Loading /boot/defaults/loader.conf message is displayed.

  4. At the OK prompt, run the following command:

    set console='comconsole,vidconsole'

  5. Run the boot -s command to reboot Citrix ADM.

  6. After the Enter full path of shell or RETURN for /bin/sh: message is displayed, press Enter to get the /u@ prompt.

  7. Mount the flash partition using the following command:

    mount dev/vtbd0s1a /flash

  8. Create a file using the following command:

    touch /flash/mpsconfig/.recover

    The password is now reset to default password.

  9. Run the Reboot command to reboot Citrix ADM.

  10. Access the Citrix ADM GUI and wait until the reboot is complete.

    Reset-password

    You can now use nsroot/nsroot credentials to log on from GUI and nsrecover/nsroot to log on from the SSH console.

    Note

    After you reboot, if the password has not reset to default password, repeat the same procedure (step 1 to step 7). Then, run the following commands and reboot Citrix ADM:

    • rm /flash/mpsconfig/master.passwd

    • rm –rf /etc/passwd

How to reset the password for Citrix ADM