Difference between revisions of "Zpanel Password reset"
From MS Computech
(Created page with "LINUX GUIDE RESET PASSWORD FOR ZADMIN [in zpanel X] ####################################################### # LINUX GUIDE RESET PASSWORD FOR ZADMIN [in zpanel X] # ###########...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
LINUX GUIDE RESET PASSWORD FOR ZADMIN [in zpanel X] | LINUX GUIDE RESET PASSWORD FOR ZADMIN [in zpanel X] | ||
− | |||
− | |||
− | |||
If you need the mysql root password look in : | If you need the mysql root password look in : | ||
− | + | <pre> | |
/etc/zpanel/panel/cnf/db.php | /etc/zpanel/panel/cnf/db.php | ||
− | + | </pre> | |
If you need the zadmin password reset for the panel then use : | If you need the zadmin password reset for the panel then use : | ||
+ | <pre> | ||
mysql -u root -p | mysql -u root -p | ||
enter password from db.php | enter password from db.php | ||
Line 15: | Line 13: | ||
mysql> UPDATE x_accounts SET ac_pass_vc = '3a20eb1aba49463ac3f76e1e9fea3957' WHERE ac_user_vc = 'zadmin'; | mysql> UPDATE x_accounts SET ac_pass_vc = '3a20eb1aba49463ac3f76e1e9fea3957' WHERE ac_user_vc = 'zadmin'; | ||
mysql> exit | mysql> exit | ||
− | + | </pre> | |
This will reset the password of account zadmin in the panel to zadmin | This will reset the password of account zadmin in the panel to zadmin | ||
------------------------ | ------------------------ | ||
[http://my-job-in-unix.blogspot.com/2013/07/linux-guide-reset-password-for-zadmin.html Source] | [http://my-job-in-unix.blogspot.com/2013/07/linux-guide-reset-password-for-zadmin.html Source] |
Latest revision as of 15:13, 8 September 2015
LINUX GUIDE RESET PASSWORD FOR ZADMIN [in zpanel X]
If you need the mysql root password look in :
/etc/zpanel/panel/cnf/db.php
If you need the zadmin password reset for the panel then use :
mysql -u root -p enter password from db.php mysql> USE zpanel_core; mysql> UPDATE x_accounts SET ac_pass_vc = '3a20eb1aba49463ac3f76e1e9fea3957' WHERE ac_user_vc = 'zadmin'; mysql> exit
This will reset the password of account zadmin in the panel to zadmin