< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [sipx-users] can't change superadmin password?


Dean Hiller wrote:
dangit, I hate when that happens.  I have been spending hours(and the docs have been great at pushing this along).  Ignore the below question.  The file was there(I was accidentally on a different machine where that file was not there), but now I have  a new question....

why can my superadmin always login without a password?  

It is like the password is not being changed or something.  I no longer get any errors, but the new sip password just doesn't work in the login portal and I have to use a blank password(ever since I reset it using the command inthe docs below).  I wish it would prompt me for the superadmin password or something...you would think it would do this after you uninstall and reinstall sipxecs since you are cleaning the system but obviously some data was leftover and so it though it already had a password :(.  How to resolve this?
thx,
dean


On Sun, Aug 17, 2008 at 12:00 PM, Dean Hiller <dean@xxxxxxxxxxxxx> wrote:
I lost my superadmin password and then reset it according to the docs...
http://sipx-wiki.calivia.com/index.php/SipX_ConfigServer_Troubleshooting#Forgot_superadmin_password

Then I try to change the sip password(which I think is the web login password) I completely did a "yum remove sipxecs" and reinstalled it.  Is there a better way to clean up on an uninstall? 
The SIP password is the password for phone registration. The PIN is the password for login into the web interface.
So change the PIN and it will work.
You can see that in the user portal:
"The PIN is a password used to log in to voicemail or to the user portal. Numeric PINs are recommended, since only numbers can be dialed."
"
The SIP password is used by the user's phone to register with the SIP proxy. For phones managed by this system, the SIP password entered here will be configured automatically on the phone. For unmanaged phones, the SIP password is needed when manually configuring lines on the phone. The security of this password is very important and that is why a secure password is auto-generated."

Removing and reinstalling sipxecs won't work because the password is kept in the database, which I suppose isn't wiped out when removing sipxecs.
You could drop the database to do a complete clean-up.
>From the WIKI:

If postgres is running and you just want to clear all configuration information

 /usr/bin/sipxconfig.sh --database drop create

If you suspect your database is corrupt, you can reinitialize postgres with the following commands:

 ## WARNING : Clears all postgres databases!!!
 service postgresql stop
 rm -rf /var/lib/pgsql/data
 su - postgres -c "initdb /var/lib/pgsql/data"
 /usr/bin/sipxconfig.sh --setup

Regards,
Andrei