TurnKey Linux Virtual Appliance Library

Restoring password to Webmin

shachara's picture

I am trying to login to my Bugzilla server in order to enable backups.

Since i created the server i have never used the Webmin or any other managment interface and i have no idea what password should i use.

I understand the username should be root as specified in the application page but none of the passwords work with it. I must have put a password during the setup and i cant remember it now.

Is there any way to reset this password?




Jeremy Davis's picture

Webmin uses PAM authentication by default

In other words, the same username/password combo as you use to log in. Ie root and whatever root password that you use to log in via Webshell/SSH/SFTP.

Guest's picture

root password

I cant login thru any of these services as i dont know the password.

I am able to login to the Bugzilla account but not to any of the management services.

Any idea how to reset or find out what password i used?

Jeremy Davis's picture

Where are you running your appliance?

If you are running on bare metal or some form of local virtualisation then you can reset the root password using a Linux LiveCD (or ISO - the TKL one would do, or pretty much any Linux distro which will run live). I can't remember the steps OTTOMH but you should find something easily via google (just keep in mind TKL v11.x is based on Ubuntu 10.04/Lucid).

If your appliance is running in AWS I have no idea how to reset the root password there. Hopefully someone else has some ideas for that (or maybe you can find something via google)?

Guest's picture

VMWare Server 2.0

I'm currently running a Turnkey Redmine virtual appliance in VMWare Server 2.0. I cannot access the Webmin with the user/password that I have written down. (I took notes during the install) Is there a way to reset the password on the Webmin without losing all of our project data that we already loaded into Redmine? 




Jeremy Davis's picture

You'll want to boot your appliance with LiveCD

Or actually just a live ISO (you don't need to burn it to CD). In fact I think you may even be able to do it from the grub prompt but I don't recall the steps. As you may be aware TKL v12.x is now based on Debian 6 but the process to reset the root password should be the same. I don't recall the exact steps but it should be easy to find the info via google.

There should be no issue with data loss but realistically if you have data there that you can't afford to lose and you don't have it backed up you seriously need to do something about that. Data loss is a matter of when, not if. And with TKLBAM being so cheap and easy there is no excuse really...!

James Ott's picture

  I appreciate the advise


I appreciate the advise about the backup. We were testing the server before deciding on the backup. Actually, that is one of the reasons I was trying to login to it was do the TKLBAM. 

I am not that versed in Linux and I will try the Linux ISO, but I'm nervous about the ramafications. Are there any other ways or any tricks I should be aware of before I start?




Jeremy Davis's picture

Perhaps take a snapshot?

To be on the safe side you could take a snapshot of the system.

TBH though it should all go smoothly and you should have no issues at all. It should be quite straightforward although will probably require use of the commandline.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)