Sn0mn00b Posted January 5, 2013 Report Share Posted January 5, 2013 Hey guys, new to the Snom scene hence the name. Can't find any documentation on how to recover root and GUI passwords. A friend of mine has a Snom ONE ip pbx installed on Debian environment. The pbx administrator decided he no longer wanted the job but never shared the passwords. I offered to help since I am very familiar with asterisk but not so much Debian and Snom. Tried booting into single user mode but its still barking for a password. This could be my lack of experience with debian since I work mostly with centos. Any help or suggestions would be appreciated! Cheers! Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted January 6, 2013 Report Share Posted January 6, 2013 If you still have file system access, just edit the pbx.xml file. There is a hash for the admin password. Clear it and restart the system. Then you can log to the web interface in without password as system administrator. Quote Link to comment Share on other sites More sharing options...
Sn0mn00b Posted January 6, 2013 Author Report Share Posted January 6, 2013 Well the only way I can get file system access at this point is pull the drive and mount it on another system. I don't really want to do that as this PBX is already in production and is under heavy use. As of right now I cannot get to the command line via single user mode. I am redhat/centos guy so I would just edit the kernel line and append init=/bin/bash from the grub loader then boot. I haven't worked on a debain system since college which was about 5 years ago so I guess ill just post in the linux section and keep researching. Thanks! Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted January 6, 2013 Report Share Posted January 6, 2013 Oh if you are getting to the single user mode on Linux, then should be able to set the root password for the system. Did you just try passwd? I am not the biggest Linux expert, but we had a similar case with VMware and there the single user mode was the key. There is some information in the Internet about this, e.g. http://www.ghacks.net/2009/02/25/how-to-reset-the-root-password-in-linux/ Quote Link to comment Share on other sites More sharing options...
Sn0mn00b Posted January 8, 2013 Author Report Share Posted January 8, 2013 yes I figured it out, just different enough with debian to be annoying. PS that link was for Fedora...which I am familiar with this system is debian based. Thanks for the help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.