How do I remove web authorization requirement?
Added by M J almost 7 years ago
I foolishly set one up when I installed the deb package. Now I want to remove it, but if I just give blank values after I run "sudo dpkg-reconfigure tvheadend" then I'm just refused authorization no matter what I enter.
I'm running all this in Raspbian Stretch.
Replies (4)
RE: How do I remove web authorization requirement? - Added by Ron L almost 7 years ago
Maybe give a user pass then log in with those. Once in the web GUI try changing the username to * and change the password to either blank or *.
Restart tvheadend service.
Otherwise you can stop the service and then start tvheadend manually from a terminal with...
tvheadend -C -u [user] -g [group]
That will let you in to the web gui with no user/pass. Configure the username to * and the pass to blank or *. I forget exactly which works there. Save that out then kill the manual started tvheadend and restart the service.
Hopefully that works for you.
RE: How do I remove web authorization requirement? - Added by M J almost 7 years ago
Actually, it looks like it's already set that way. If you talking about Configuration|Users|Access Entries, it's got 2 rows in the grid and the username is "*" for both. The Passwords tab has nothing under it. It seems the web authorization comes from somewhere else.
RE: How do I remove web authorization requirement? - Added by Ron L almost 7 years ago
The user and group that the tvheadend server runs as is set in...
/etc/default/tvheadend
The web auth is stored in ...
/home/$TVH_USER/.hts/tvheadend/accesscontrol
Encrypted passwords are in...
/home/$TVH_USER/.hts/tvheadend/passwd
default $TVH_USER is hts
Configuration|Users|Access Entries is where you add/delete users and set permissions for each user. Passwords tab is to edit users' passwords. If you want no password access to the GUI I believe what you want is a user named * with full rights and the password for user named * set to *.
RE: How do I remove web authorization requirement? - Added by M J almost 7 years ago
That didn't have any effect. What's in the Access Entries and /home/hts/.hts/tvheadend/accesscontrol doesn't seem to have anything to do w/the web authorization. the only way to affect that is with
sudo dpkg-reconfigure tvheadend. The results of that show up in /home/hts/.hts/tvheadend/superuser. However, if I give it a bogus password instead of no password, then at least my browser will save it and make things a little easier when I log in.