PDA

View Full Version : Web IF user/password



stevieb22
25-08-2009, 12:08 PM
Running Black Hole V10, I need to know how to set the web if username/password, I have enabled password protection in the plugin but do not know how to modify default password.

Does anyone know the location of the correct file so I can FTP a new password?

Cheers

Steve

NoMaD
25-08-2009, 11:14 PM
Hi Steve
I don't think you can modify the passwd of webif without modify the passwd of dreambox
When you enable the passwd protection , it use the passwd of your dreambox

/usr/lib/enigma2/python/Plugins/Extensions/WebInterface/plugin.py ( open plugin.py with editor ) you will this this

class PasswordDatabase:
"""
this checks webiflogins agains /etc/passwd
"""
passwordfile = "/etc/passwd"

now you knows where is stored the passwd :) but it's encrypted

for change passwd of you're dreambox ( same of webif )
connect with telnet
and use command

passwd
now tape 2x you're new passwd

Regards
NoMaD

stevieb22
27-08-2009, 10:52 PM
NoMad thanks for your help, I spent hours trying to find a file with reference to WebInterface/Plugin the other day in work without success. :respect-applause-00


Cheers

Steve

stevieb22
27-08-2009, 11:40 PM
Strange, when I connect with Dreambox control centre I use the default user/password (root, dreambox) yet Webif failed to connect.

Now I have changed the password it connects to Webif OK! Maybe it's a security protocol in Webif

Regards

Steve

dadudo2000
28-08-2009, 06:08 AM
Hi m8s

How do you enable password on webif? I tried but with no success.

Thanks beforehand for any help