Results 1 to 12 of 12
Thread: How to change root passwor
-
10-25-2013, 04:56 PM #1Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 623
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 youYour Health Encyclopedia
Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language
-
10-25-2013, 04:58 PM #2Web Hosting Master
- Join Date
- Sep 2010
- Location
- /usr/bin/fail
- Posts
- 859
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.
-
10-25-2013, 05:01 PM #3Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 623
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
-
10-25-2013, 05:01 PM #4Junior Guru
- 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.
-
10-25-2013, 05:03 PM #5Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 623
no, "pass123" didn't work too.
Your Health Encyclopedia
Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language
-
10-25-2013, 05:07 PM #6Web Hosting Master
- Join Date
- Sep 2010
- Location
- /usr/bin/fail
- Posts
- 859
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.
-
10-25-2013, 05:12 PM #7Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 623
Make sure you're setting the root password in the correct spot in SolusVM.Your Health Encyclopedia
Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language
-
10-25-2013, 06:12 PM #8Web Hosting Master
- Join Date
- Jul 2012
- Posts
- 842
Is this a KVM VPS?
-
10-25-2013, 07:44 PM #9Web Hosting Master
- Join Date
- Jul 2012
- Posts
- 842
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-25-2013, 09:40 PM #10Web Hosting Master
- Join Date
- Apr 2011
- Location
- Cybertron
- Posts
- 10,484
-
10-26-2013, 03:35 AM #11Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 623
Your Health Encyclopedia
Medical and health consumer information resources containing comprehensive and unbiased information in patient-friendly language
-
10-26-2013, 05:03 AM #12Web Hosting Master
- Join Date
- Jul 2012
- Posts
- 842
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
-
change root password
By yasharhi in forum Dedicated ServerReplies: 4Last Post: 06-29-2012, 06:36 PM -
how do i change the root password?
By getwebhosting in forum Hosting Security and TechnologyReplies: 9Last Post: 06-12-2009, 04:37 AM -
Change root Password
By sinus in forum Hosting Security and TechnologyReplies: 3Last Post: 12-11-2008, 02:18 PM -
change root password !!!
By 4mhf in forum Hosting Security and TechnologyReplies: 3Last Post: 12-19-2006, 10:32 PM -
i want change domain of root
By kaspersky in forum Domain NamesReplies: 6Last Post: 11-08-2006, 04:40 PM