?
Solved

Asterisk Trixbox Root Password recovery

Posted on 2012-03-21
2
Medium Priority
?
3,102 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
Mysidia earned 2000 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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

777 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