Skip to main content

Not able to login to WHM on new installed DNSonly server

Comments

7 comments

  • cPRex Jurassic Moderator
    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?
    0
  • econoweb
    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.
    0
  • cPRex Jurassic Moderator
    When you make an SSH connection, is that directly with the "root" user? There isn't a way that WHM can use anything other than the root password, as it pulls that information directly from the server.
    0
  • econoweb
    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
    0
  • cPRex Jurassic Moderator
    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.
    0
  • econoweb
    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
    0
  • cPRex Jurassic Moderator
    I'm glad that worked!
    0

Please sign in to leave a comment.