Difference between revisions of "Removing additional password (htpasswd) by SSH"
From BrainyCP
Line 1: | Line 1: | ||
− | + | <div data-placeholder="Перевод" dir="ltr">An additional password (htpasswd) is needed to maximize the protection of the control panel from unauthorized access. In case you forgot your additional password, the only way to solve the problem is to reset your password via SSH. For this you need:</div> <div data-placeholder="Перевод" dir="ltr">1. Utility Putty.<br/> 2. IP, login and password sent by the hosting provider to your e-mail.<br/> </div> <div data-placeholder="Перевод" dir="ltr">To disable htpasswd authorization, follow these steps:<br/> </div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">1. Connect via SSH using the IP address you use to log into BrainyCP.<br/> 2. Complete the login as root (username) and root @ IP address password (password) fields.<br/> 3. Enter the command: '''yum -y install nano'''<br/> 4. Enter the command: '''nano /etc/brainy/src/compiled/nginxb/.htpasswd'''<br/> 5. Replace the existing line with the line: '''admin: $ apr1 $ L7wL5Wod $ zW4GbNAjV.dR76WWsyXGL1'''<br/> 6. Enter the command: '''service nginxb restart'''</div> | |
− | |||
− | |||
− | 1. | ||
− | |||
− | |||
− | |||
− | 1. | ||
− | |||
'''''[[File:2019-08-30 15-24-04.png|border|2019-08-30 15-24-04.png]]''''' | '''''[[File:2019-08-30 15-24-04.png|border|2019-08-30 15-24-04.png]]''''' | ||
− | + | After that, go to the control panel and fill in the "Login" and "Password" fields in the pop-up window: | |
− | + | <div data-placeholder="Перевод" dir="ltr">'''Login:''' admin<br/> '''Password: '''12345<br/> Now that you are logged into the control panel, go to the "Management" / "Server settings" / "Server" tab, find the "Security" / "htpasswd authorization" block to disable or set a new additional password. How to do this is described in the instructions [https://docs.brainycp.io/index.php/Защита_панели_BrainyCP_от_несанкционированного_доступа "Protecting the panel Brainy CP from an unauthorized access"].</div> | |
− | |||
− | |||
− | |||
− |
Revision as of 23:51, 8 April 2021
An additional password (htpasswd) is needed to maximize the protection of the control panel from unauthorized access. In case you forgot your additional password, the only way to solve the problem is to reset your password via SSH. For this you need:
1. Utility Putty.
2. IP, login and password sent by the hosting provider to your e-mail.
2. IP, login and password sent by the hosting provider to your e-mail.
To disable htpasswd authorization, follow these steps:
1. Connect via SSH using the IP address you use to log into BrainyCP.
2. Complete the login as root (username) and root @ IP address password (password) fields.
3. Enter the command: yum -y install nano
4. Enter the command: nano /etc/brainy/src/compiled/nginxb/.htpasswd
5. Replace the existing line with the line: admin: $ apr1 $ L7wL5Wod $ zW4GbNAjV.dR76WWsyXGL1
6. Enter the command: service nginxb restart
2. Complete the login as root (username) and root @ IP address password (password) fields.
3. Enter the command: yum -y install nano
4. Enter the command: nano /etc/brainy/src/compiled/nginxb/.htpasswd
5. Replace the existing line with the line: admin: $ apr1 $ L7wL5Wod $ zW4GbNAjV.dR76WWsyXGL1
6. Enter the command: service nginxb restart
After that, go to the control panel and fill in the "Login" and "Password" fields in the pop-up window:
Login: admin
Password: 12345
Now that you are logged into the control panel, go to the "Management" / "Server settings" / "Server" tab, find the "Security" / "htpasswd authorization" block to disable or set a new additional password. How to do this is described in the instructions "Protecting the panel Brainy CP from an unauthorized access".
Password: 12345
Now that you are logged into the control panel, go to the "Management" / "Server settings" / "Server" tab, find the "Security" / "htpasswd authorization" block to disable or set a new additional password. How to do this is described in the instructions "Protecting the panel Brainy CP from an unauthorized access".