password problem driving me mad
Added by Jim Learmonth over 10 years ago
Installed from source build a week or so ago.
Ran from command line as root.
It works OK like that.
Tried a simple /etc/init/tvheadend.conf
start tvheadend
works, but it then asks for a password.
-C allows access but no config
So I have reverted to running from the command line for now.
Any solution as I have been surfing for hours.
Thanks
Jim
Replies (6)
RE: password problem driving me mad - Added by Prof Yaffle over 10 years ago
Did you build a package and install it, or are you running it directly?
If the former, you can reconfigure the package - sudo dpkg-reconfigure tvheadend, I think. If the latter, you need to dig into the config files and find the right files - it's be /home/hts/.hts/tvheadend/superuser in a normal installation. Have a look in /home/hts/.hts/tvheadend/accesscontrol while you're there.
If you're not running as root, see who you are running it as (pe -eaf | grep tvheadend). And whether you're running it as root or some other user, make sure that user has access rights to your tuner (normally via the video group).
RE: password problem driving me mad - Added by Jim Learmonth over 10 years ago
I built from source and installed.
It works perfectly from command line.
But if init script on startup runs it, still as root but it always asks for password ( which I don't have ! ).
Will try your suggestions.
Thanks
Jim
RE: password problem driving me mad - Added by Prof Yaffle over 10 years ago
Depending on your distro and whether you need to build it yourself, you an always use the pre-built debs if appropriate. That may make installation a little easier.
There's a difference between make && make install and Autobuild.sh followed by dpkg. Again, depends on your distro (you may not be on a Debianalike) as to whether this is an option.
RE: password problem driving me mad - Added by Jim Learmonth over 10 years ago
As root
dpkg-reconfigure tvheadend doesn't work
I did a "make reconfigure" and "make install".
then
start tvheadend (using a simple /etc/init/tvheadind.conf)
The web browser access to 9981, but it still wants a user/password. User root does not work.
/root/.hts/tvheadend/accesscontrol/1
has below.
Any ideas ???
Thanks Jim
{
"enabled": 1,
"username": "*",
"password": "*",
"comment": "Default access entry",
"prefix": "0.0.0.0/0,::/0",
"streaming": 1,
"dvr": 1,
"dvrallcfg": 1,
"webui": 1,
"admin": 1,
"id": "1"
}
RE: password problem driving me mad - Added by Prof Yaffle over 10 years ago
What's in /root/.hts/tvheadend/superuser?
RE: password problem driving me mad - Added by Jim Learmonth over 10 years ago
I will look tonight when I get home.
Thanks
Jim