Solved

Asterisk Trixbox Root Password recovery

Posted on 2012-03-21
2
2,738 Views
Last Modified: 2012-03-22
Experts,

We have a trixbox pbx server that has been sitting in our office that no one has access to.

From what I have read once that I have root access I can change the Trixbox Gui password as well.

So my question is.  Any ideas on how I can recover the root password for my Trixbox?


Thanks,
R
0
Comment
Question by:RandallVillalobos
2 Comments
 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 37750957
On a Trixbox system the root password is stored as a one-way crypto hash, so there's really no way to directly view the existing password, only to reset the password to something new.

The root password reset procedure is the same as CentOS5
http://www.experts-exchange.com/OS/Linux/Distributions/Q_27083030.html

Basically,  stop the system at the boot menu
hit 'e' to Edit  the entry

Go down to edit the second line that starts with 'kernel'
hit 'e' to Edit the line

add  init=/bin/sh
to the end of the line
press enter
press 'b' for boot

after the system boots
use the commands
# mount -o remount,rw /
# passwd root

Type new password.

# mount -o remount,ro /

Reboot system.


Login as root

To change the web interface password for the 'maint' user

# passwd-maint
0
 

Author Closing Comment

by:RandallVillalobos
ID: 37754393
Thank you!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question