Reset maint password

chicken
Posts: 3
Member Since:
2008-07-27

Dear all,

i use trixbox CE version 2.3. how can i reset the password for maint user ? , because i loose it. But i didn't loose the user password and i could login to trixbox via terminal. I've tried to use command
passwd-maint, but i failed. It says that the command not found and i couldn;t find the binary file in /sbin.
and how can i add new user to access web interface / freepbx ? is there command from the console ? or i must add something in the cofiguration ?

thank you



chicken
Posts: 3
Member Since:
2008-07-27
reset maint password

i finally found the passwd-maint script.it's located in /usr/local/sbin. Now i can login to admin mode with maint password. But forget the password to access FreePBX, how can i reset it ? or how can i add new user to access web interface of FreePBX ?

thank you



datu503
Posts: 261
Member Since:
2007-06-06
passwd-maint

at console

--

Walden, Certified FtoCC Admin & Tech
www.tech-r-us.com everythingIP
www.citivoip.com everythingVOIP



chicken
Posts: 3
Member Since:
2008-07-27
i'm sorry datu, how to do it

i'm sorry datu, how to do it , i mean change freepbx password via console, or add new user to access freePBX ?



atilio
Posts: 288
Member Since:
2006-06-01
maint passwd

to change the maint passwd issue this command on the console

passwd-maint

to add a new user to access free-pbx update this file

/etc/trixbox/httpdconf/trixbox.conf by adding your new user to this section
say your new user is batman

#Password protect /var/www/html/maint

AuthType Basic
AuthName "Restricted Area"
AuthUserFile /usr/local/apache/passwd/wwwpasswd
Require user maint batman

After you update that config file then run this command

htpasswd /usr/local/apache/passwd/wwwpasswd batman

and then enter the new password for your new "batman" user

That's it!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.