Blog

Blog

28
Feb
2010

How to Reset VTONF Password

Open VZ Logo

A couple of months back, Mo, our Sys Admin setup a test server with Open VZ server virtualization.

Open VZ is a cool way for us to have separate *nix OS instances running on one server. So for example we can run CentOS, Ubuntu or Redhat etc., on the same machine. This is great for testing on various flavors of linux.

The OpenVZ installation is not easy, but there is a great deal of support and documentation on the web that helped us. Patience is a key :)

Here is a good OpenVZ installation tutorial

Once OpenVZ is setup, most operations can be performed from the shell prompt.

VTONF Logo

Mo did install a nifty web management console called “VTONF”. It is a PHP application that does pretty much all that we need to do to manage the VZ containers.

We forgot the password for the VTONF console – yes we did :) . We searched online for help changing the password but no luck. Also it seems that the VTONF site is down.

So after going through the PHP code (the code is documented well) this is how we reset the password:

$ cd /etc/vtonf/

The username and password are stored in a file called “.vtonf.shadow”

Edit the file in VI or Nano

$nano .vtonf.shadow

The username and password are separated by a :
username:password

Once you’ve changed the above, save it and login to the console.

http://OpenVZServerIPAddress:8001

Hope this saves you some time.

Category: Web Design

Leave a comment

Spam Protection by WP-SpamFree