Difference between revisions of "Recover lost administrator password"

From BubbaWiki
Jump to navigation Jump to search
Line 19: Line 19:
#Download the latest install image: B3: [http://update.excito.net/install/latest/b3 update.excito.net/install/latest/b3] or B2: [http://update.excito.net/install/latest/bubba-two/ update.excito.net/install/latest/bubba-two/]<br>  
#Download the latest install image: B3: [http://update.excito.net/install/latest/b3 update.excito.net/install/latest/b3] or B2: [http://update.excito.net/install/latest/bubba-two/ update.excito.net/install/latest/bubba-two/]<br>  
#Unzip the downloaded zip file to a USB stick, there will be a catalog named 'install' in the root.  
#Unzip the downloaded zip file to a USB stick, there will be a catalog named 'install' in the root.  
#
#In the catalog 'install' you will find a file called 'bubba.cfg', open it with an editor. Use for example [http://www.contexteditor.org/ www.contexteditor.org/] or [http://www.flos-freeware.ch/notepad2.html www.flos-freeware.ch/notepad2.html]. Using Windows Notepad or Wordpad will destroy the file. Edit the line DO_INSTALL to the following:<br>
 
<pre>DO_INSTALL=0
<br>
</pre>
#<br>

Revision as of 12:29, 11 November 2010

If you have lost your administrator password here are two ways of recovering it.

A

This alternative requires that you have a user that has shell log in activated.

  1. Log in via SSH with your user.
  2. Become root with the command su (password 'excito').
  3. Type the command 'passwd admin'.
  4. Now enter a new password (retype it when asked for).
  5. Done!


B

If you do not have a user with shell access do like this.

  1. Download the latest install image: B3: update.excito.net/install/latest/b3 or B2: update.excito.net/install/latest/bubba-two/
  2. Unzip the downloaded zip file to a USB stick, there will be a catalog named 'install' in the root.
  3. In the catalog 'install' you will find a file called 'bubba.cfg', open it with an editor. Use for example www.contexteditor.org/ or www.flos-freeware.ch/notepad2.html. Using Windows Notepad or Wordpad will destroy the file. Edit the line DO_INSTALL to the following:
DO_INSTALL=0