mdzidic / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Password reset #307

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Lost password admin panel from OpenVZ Web Panel 2.0. How do I restore it from 
the server console? From the web interface recovery does not work.

Version of the product: 2.0

Server OS: CentOS 5.6

Browser: Chrome

Additional information:

Original issue reported on code.google.com by malko...@gmail.com on 20 Jun 2011 at 7:53

GoogleCodeExporter commented 9 years ago
One-liner to reset password from console:
ruby /opt/ovz-web-panel/script/runner -e production 'user = 
User.find_by_login("admin"); user.password = "admin"; user.save(false)'

Original comment by sibprogrammer on 22 Jun 2011 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 1 May 2012 at 8:49