Results 1 to 12 of 12
  1. #1

    How to change root passwor

    Hello

    Today i try to reinstall new template and after installation find that i cann't login via SSH.

    Use all passwords that i have (first of all password that send hoster, when he setup my VPS), but they don't work. Also try to change it via SolusVM - New VNC Password tool (and restart it later), but all my attempts aren't successful.

    Is there any way to get access to my VPS account via SSH?

    thank you
    Your Health Encyclopedia
    Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language

  2. #2
    Join Date
    Sep 2010
    Location
    /usr/bin/fail
    Posts
    858
    If its using SolusVM then don't use special characters in your password to reset it.

    Just change it to pass123 , then ssh into the VPS and then use passwd to set the root password with special characters.

  3. #3
    I don't used any special characters -> just letters, but also i'll try this one [pass123] ;-)
    Your Health Encyclopedia
    Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language

  4. #4
    Join Date
    Dec 2002
    Location
    Sheboygan, WI
    Posts
    183
    Also worth noting, you said you set the VNC password in SolusVM, this is different than 'root' password in SolusVM. Make sure you're setting the root password in the correct spot in SolusVM.
    bpsNode, LLC - www.bpsNode.com
    Premium Cloud Servers
    Enterprise Hardware

  5. #5
    no, "pass123" didn't work too.
    Your Health Encyclopedia
    Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language

  6. #6
    Join Date
    Sep 2010
    Location
    /usr/bin/fail
    Posts
    858
    You probably need to put a ticket into support then.. Might be a bigger issue going on.

    SolusVM has issues with special characters that's why I said try and easy one first.

  7. #7
    Make sure you're setting the root password in the correct spot in SolusVM.
    Yes ... your' are right. But i have only 2 fields in this version of SolusVM where i can set any text: Hostname and New VNC Password :-((((
    Your Health Encyclopedia
    Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language

  8. #8
    Join Date
    Jul 2012
    Posts
    731
    Is this a KVM VPS?

  9. #9
    Join Date
    Jul 2012
    Posts
    731
    Quote Originally Posted by vps_newbie View Post
    Is this a KVM VPS?
    Based on your description, it sounds like you have a KVM VPS, so let me add:
    (Applies to KVM VPSs with SolusVM control panels)

    I have a KVM VPS with a SolusVM control panel. Based on my experience, you get only one chance to record the root password - at installation time. If you don't record the root password or you lose it, then you have few options.

    VNC provides you with a remote console to your VPS. You can change the VNC password from your SolusVM control panel, but it only covers the VNC connection, not access to the VPS itself. In other words, the VNC password lets establish a VNC connection, which displays a remote console terminal, but the first thing you see in the terminal is the login prompt. If you don't have a valid login username and password, then there is little you can do.

    (On my KVM VPS with SolusVM, you must reboot the VPS after you change the VNC password. If you don't have access to the VPS to reboot it from the command line, then you can use the buttons in the SolusVM control panel to reboot it. None of that matters if you don't have a username and password for the VPS itself.)

    If you have lost the root password for your VPS, then your only choices are:
    1. Login using a non-root account that has sudo privileges. Use sudo to become root, then change the root password.

    2. Reinstall the OS from scratch using a template or an .iso installer. Of course, you will wipe out the VPS and start over. This time, remember the root password, because you only get one chance to record it.

    3. Open a support ticket and beg the VPS provider to change the root password for you. I cannot swear that they have the tools to do it, but I have heard anecdotally that they can.


    If you have a KVM VPS like mine, you can change the root password as often as you like, but you must do it from within the running VPS (Linux or Windows). Windows and Linux require you to enter the old password or have a sudo-privileged account to do it.

  10. #10
    Join Date
    Apr 2011
    Location
    Core Files
    Posts
    7,801
    Quote Originally Posted by CN-Jeremy View Post
    You probably need to put a ticket into support then.. Might be a bigger issue going on.

    SolusVM has issues with special characters that's why I said try and easy one first.
    It's only an issue if set through Solus. Once in the box, you can set the password to 64 random characters.

  11. #11
    Quote Originally Posted by vps_newbie View Post
    Is this a KVM VPS?
    Yes, you are right: it's a KVM VPS
    Your Health Encyclopedia
    Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language

  12. #12
    Join Date
    Jul 2012
    Posts
    731
    Quote Originally Posted by 3-rx View Post
    Yes, you are right: it's a KVM VPS
    See my detailed notes above. Since you just installed from a template, you probably do not have much to lose if you perform the installation again. Pay attention during the installation process - there will be one time during the installation process where the VPS displays the root password or it gives you the opportunity to enter one. Remember to record it, because it is the only time you will see it.

    Good luck, and let us know what happens.

Similar Threads

  1. change root password
    By yasharhi in forum Dedicated Server
    Replies: 4
    Last Post: 06-29-2012, 06:36 PM
  2. how do i change the root password?
    By getwebhosting in forum Hosting Security and Technology
    Replies: 9
    Last Post: 06-12-2009, 04:37 AM
  3. Change root Password
    By sinus in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-11-2008, 02:18 PM
  4. change root password !!!
    By 4mhf in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-19-2006, 10:32 PM
  5. i want change domain of root
    By kaspersky in forum Domain Names
    Replies: 6
    Last Post: 11-08-2006, 04:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •