Ubuntu Intall WHM Root Login
Hello when deploying cPanel on Ubuntu as centOS will no longer be supported. What is to be the root / main WHM login? I see that I can use the URL generated after installation to login for the first time. But are you then to change / create a root password from WHM? As the interface its self won't allow login as there is no set root password in Ubuntu?
I have it successfully installed and can access WHM from the URL generated via the session. However login in as the ubuntu user created at installation does not work.
-
You can change root pasword in WHM -> Server Configuration -> Change Root Password. 0 -
You can change root pasword in WHM -> Server Configuration -> Change Root Password.
So I understand that I can change it there, but is that the procedure? The fact that a clean install of Ubuntu / cPanel means that there is no root password. So the correct method is to install on a clean ubuntu setup, use the link to login and then set the password for the first time? As Ubuntu is still unofficial for cPanel there doesn't seem to be any mention of this in the setup procedure So it seem basically as soon as you install cPanel you can no longe SSH into the server as a) Login via ROOT is not enabled I would assume via SSH as its ubuntu? b) Login via the local ubuntu user that is created at install is then somehow disabled This is based on two clean installations of Ubuntu and cPanel0 -
So this makes no sense to me, but someone correct me if I'm wrong and just assumed to know this... So after completing a clean install of Ubuntu and installing cPanel to it, you cannot login to cape OTHER than using the URL listed in the install (as root is not enabled in ubuntu). So if that link expires you then need to generate a new URL session login. However if you then login via that session login and change the root password, you can "then" login to WHM with root no problem. However at that point you can NO LONGER 1) Login to ubuntu with the user created at installation via SSH nor Local session 2) You cannot login via ssh as root, but you can login via WHM. I have to ask this like this, because I have wasted an unbelievable amount of time on this. Basically it seems as soon as I install ubuntu, I can login correctly with the created ubuntu user I can SU no problem. However once I install cPanel, I cannot login with the generated ubuntu user, so I thus have to login via the generated URL, then once I change the password for root. I can no longer connect into ubuntu via local console or SSH via the ubuntu created user nor the cPanel root user (assuming because ssh login via root is disabled by ubuntu) So I'm just a bit confused if I'm somehow screwing this up every time or over looking something :) 0 -
So after completing a clean install of Ubuntu and installing cPanel to it, you cannot login to cape OTHER than using the URL listed in the install (as root is not enabled in ubuntu). So if that link expires you then need to generate a new URL session login.
After you did a clean install of Ubuntu you got the root password? After that, as root user, you installed cPanel? After that you still have the root password? I have never installe Ubuntu so maybe I am missing something.0 -
I would like to know the information quietFinn asked as well. Installing cPanel shouldn't make changes to your users or sudoers. You should install cPanel while logged in as root. You should be able to access WHM and SSH as root, and you should still be able to use your Ubuntu user with sudo as well. Knowing this information might shed some light on the problem. 0 -
So that then should be the issue :) Its a clean install of Ubuntu so there is no root enabled, the installation was being run with su to root i then followed as you said and changed the root password from WHM on the second test installation however on both installs after installing WHM the standard user created at installation stopped working. so then the proper procedure for a clean install with Ubuntu is to enable root first then install 0 -
So that then should be the issue :) Its a clean install of Ubuntu so there is no root enabled, the installation was being run with su to root
When you "su to root" you need the root password, and when you are in the root shell you are also able to change the root password. What do you mean by "there is no root enabled"?0 -
When you "su to root" you need the root password, and when you are in the root shell you are also able to change the root password. What do you mean by "there is no root enabled"?
Sorry I meant to say sudo :) All of the installation instructions ive been able to find pertaining to Ubuntu cPanel installation have said to just sudo for the install. So I will attempt a clean install with enabling the root user ahead of time and then running installation as root.0 -
Yes, I noticed this problem too. Unable to login to ssh root login after installing cpanel. For solution In /etc/ssh/sshd_config file usepam should be set as yes > no. Then the sshd service should be restarted. 0
Please sign in to leave a comment.
Comments
11 comments