Phone sales support +39 0575 05077
  Phone technical support +39 0575 0508
 
Cloud Server > 4 - Access to Cloud Servers > Resetting the access password on a Cloud Server with a Debian or Ubuntu operating system

4.6.3 Resetting the access password on a Cloud Server with a Debian or Ubuntu operating system

To reset the password in the case of Cloud Servers with a Debian or Ubuntu operating system you need to access the Cloud Server via the Recovery Console and at the same time keep the Visual Cloud application open and follow the instructions as below.
  1. Turning off the Cloud Server from Visual Cloud.
  2. Having accessed the recovery console, start the Cloud Server with Visual Cloud.
  3. In the console window you will see the turn-on phase of the Cloud Server with a message for the "grub-boot" as in the image below for a period of approximately 5 seconds in the case of Debian,



    and 3 seconds in the case of Ubuntu.


    Before the countdown ends press "e" to access the boot editing mode.
  4. When opening the boot files, navigate with the arrows on the line for loading the operating system kernel (usually starts with the word "Linux") and add to the end of the line init=/bin/sh



  5. To rerun the modified boot press the key combination CTRL + x.
  6. The Cloud Server will restart and after a few seconds you can enter new commands after the # symbol.
  7. Type the command mount -o remount rw / and hit enter.
  8. Type the command passwd and hit enter.
  9. Type the new password for the "root" and hit enter.
  10. Confirm the new password and hit enter.
  11. At this point the new password for the "root" user has been successfully configured and you will be able use it at the next reboot to access the Cloud Server (for the reboot type reboot or init 6 or force the Reset from the control panel).