SOLVED Not able to login to WHM on new installed DNSonly server

econoweb

Registered
Sep 25, 2010
4
0
51
Hello,

I have installed a new DNSOnly server on and Azure VM.
When the installation is done the WHM interface does not accept the Azure root credentials to login.

What could ve the problem?

Thanks

Peter
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,306
2,439
363
cPanel Access Level
Root Administrator
Hey there! This isn't much that could be happening with this issue as WHM only uses the server's main "root" username and password. This is not related to the Azure credentials. Azure typically requires you to use "sudo" to access root over the command line, so you could do that to reset the root password. Can you try that and see if that works well?
 

econoweb

Registered
Sep 25, 2010
4
0
51
Hi, I have reset the password and kan use the password to make and ssh connection to the server.
However whm is not accepting the password.
 

econoweb

Registered
Sep 25, 2010
4
0
51
Azure does not permit create a user with username ‘root’ So I have created a root user called ‘dnsroot’. With ssh I have used ‘dnsroot’ user in install Cpanel DNS only.
in the mean time I have installed a second server and have exactly the same problem there
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,306
2,439
363
cPanel Access Level
Root Administrator
Azure may not permit direct access as root, but that is still what you need to use to access WHM on the server. There's no way around that.

I'm not sure how well the installer would work run under another user, so that system may not work properly.

Once you are logged into SSH, I would expect you to be able to run "sudo su -" to gain root access. Once you have accessed root, you can change that user's password to something you know. If that isn't working how you expect, you'll need to contact Azure directly to see how you can access root over SSH for your particular type of system.
 
  • Like
Reactions: econoweb

econoweb

Registered
Sep 25, 2010
4
0
51
Azure may not permit direct access as root, but that is still what you need to use to access WHM on the server. There's no way around that.

I'm not sure how well the installer would work run under another user, so that system may not work properly.

Once you are logged into SSH, I would expect you to be able to run "sudo su -" to gain root access. Once you have accessed root, you can change that user's password to something you know. If that isn't working how you expect, you'll need to contact Azure directly to see how you can access root over SSH for your particular type of system.

That solved the problem, thank you