whm password is invalid - passwords

I installed whm on centos7 to run cpanel on my server. After the installation finished, I cant login to whm , when I google it, I found the password by default is my root password for server but even with that i can't login.
Does anyone know what happened and what I should do?

Login via ssh as root and do a passwd root to change the password then try again

Related

Reset password of a User with Root priviliges after disabling Root Access WHM

Thanks for reading my question.
I have a big issue with SSH on my server;
I've disabled a month ago "root" access via SSH
Created a new user called "admin", added it to the wheel group and su root priviliges
This way, I will need to login with "admin" user only ...
But, but, the problem is NOW : I forgot the "admin" PASSWORD...
Is there anyway to fix this problem via WHM or SSH... ?
Regards,
It's not possible to change your admin pass through WHM. But I will suggest you please create one test account through WHM and enable shall access for that user, And after that you can add that user in wheel group and login SSH with that user password. After that you can reset the admin pass through root user.
Here is the best solution:
go to your Google Cloud account on deployment manager click to Opne SSH
follow this steps:
$ sudo passwd
New Password:______________
retype NewPassword :_______________

cPanel how to access the public_html via filezilla

I have a big problem with cPanel. I have the access to cPanel but how ever I try to connect to public_html directory it is just impossible. I come so far that I enter the correct server but my uname and pword does not work. So please can someone tell me what I'm doing wrong?
I use Mac by the way.
If it helps I can say that I have installed mantis via simple script but I can't access that either via the url.
So I'm totally lost and please help me.
In your cpanel account, have you looked to see if you have an FTP account configured? Try using ftp.domain.com, cpanel username, cpanel password for FileZilla login credentials. Hope this helps.

Change MAMP password to none

How can i use empty password in MAMP?
I tried the command:
/Applications/MAMP/Library/bin/mysqladmin -u root -p password
and edited the config php file but empty password seems not working..(every other password works fine).
What can i do to use empty password?
There is a third party app that runs Apache & MySQL from MAMP without asking for a password each time. It’s quite secure because it uses a stored password locked in the Keychain. It also quits Apache & MySQL when you quit the app itself.
Here is how to use it:
Open the Keychain Access app and click ‘+’ to add a new item. Call the item ‘MAMP’ and enter the account name and password that you use to log in to your Mac.
Download and launch the MAMP No Password app
App is here.

when i am trying to copy a local directory to remote server directory

When I am trying to copy a directory from local machine to remote server directory,It is asking for remote server password but i dint set any password for that.How should i solve it??
Have you test to enter login (session name) without password.
I think you must have set a password, even if when you use that remote server physically it logs in automatically, your user account will still have a password. Do you mean you're trying to use an ssh key with no passphrase?

How to disable root login on Virtualmin

I’m using a vanilla Webmin / Virtualmin 3.93 GPL version on Centos 6. I’ve created a new user that has full privileges on Webmin, so now I want to disallow root from logging in, as obviously it could be a security issue.
Does anyone know how to do this? There must be an option for this somewhere but maybe I can’t see the wood for the trees.
I’ve disabled root SSH login manually, but I still can login to Webmin using the root account.
Thanks to #Charles for the pointers.
To remove the root user from Webmin, log in as a user with administrator privileges and click on Webmin -> Webmin Users.
In the list of users, either delete or remove all privileges from the root user.
After removing that user I could log in as my new administrator user and administer the server but not log in as root.
Problem solved, security through obscurity but still better than nothing.
Click on the Webmin tab, expand the Webmin section and select Webmin User. Then select the root user. Expand Security and Limit Options and select Only allow from listed addresses for IP Access Control. Enter the loopback address(127.0.0.1) into the field. The root user will still exist, but will be unable to login.
In Webmin -> Webmin Users click root and rename it to the username you use.