How do I change the password management option for all remote servers ?

How do I change the Ezeelogin password management option to "automatic" for all remote servers?

 

Take a backup of the Ezeelogin database by the following command.

 

root@jumpserver:~# mysqldump db_name > db.sql

 Find the  database prefix from /usr/local/etc/ezlogin/ez.conf in Ezeelogin gateway server

root@jumpserver:~# cat /usr/local/etc/ezlogin/ez.conf

 

system_folder /var/www/ezlogin/

force_https yes

uri_path /

db_host localhost

db_port /var/run/mysqld/mysqld.sock

db_name ezlogin_por

db_user ezlogin_cxy

db_pass ymhbtPaY)VzD2g]84

db_prefix casmbn_

cookie_encryption_key D8$Frp5fF_FF

cookie_name rlbup

cookie_path /

www_folder /var/www/html/ezlogin/ 

admin_user ezadmin

mysql_encrypt no

 

 

1. Run the following query to change the password management option to "automatic"

Replace the " prefix_" with the value given in the /usr/local/ezlogin/ez.conf of your Ezeelogin jumpserver.

root@jumpserver:~# php /usr/local/ezlogin/ez_queryrunner.php "update prefix_servers set keep_password=’N’"

 

 

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Webportals unavailable for user
    Viewed 3454 times since Fri, Dec 8, 2017
    How to use ezproxy server in ezeelogin ?
    Viewed 250 times since Mon, Mar 30, 2020
    How to change the default backup directory of Ezeelogin installation ?
    Viewed 300 times since Mon, Apr 6, 2020
    How to enable Public key based authentication and Allow root login in SSHD
    Viewed 1823 times since Fri, Dec 8, 2017
    What are the security measures to ensure data security?
    Viewed 1724 times since Mon, Aug 21, 2017
    Configure ssh certificate based authentication
    Viewed 556 times since Fri, Apr 17, 2020
    What are the encryption technologies used to secure my data?
    Viewed 1650 times since Mon, Aug 21, 2017
    Where is my data stored?
    Viewed 1677 times since Mon, Aug 21, 2017
    Backup/restore crashes abruptly without any error
    Viewed 120 times since Sat, Jul 11, 2020
    How to grant Parallel Shell privilege for a user?
    Viewed 4018 times since Wed, Nov 22, 2017