LinHES Forums http://forum.linhes.org/ |
|
Webmin and mythwev login failure http://forum.linhes.org/viewtopic.php?f=11&t=13084 |
Page 1 of 2 |
Author: | oegaoega [ Sun Dec 24, 2006 6:29 pm ] |
Post subject: | Webmin and mythwev login failure |
Hi guys, 4 google days have been passed and I still can’t figure out what is wrong. I just can’t login with the web interface! (webmin and mythweb they both reply “login failed” ) I have tried changing passwords, adding new users, reinstalling and so on! When I disabled authentication by ToggleWebSecurity i could get in the mythweb. Enabling BasicAuth authentication, as described here, had no results yet. (login failure) Somehow there is no link between the defined users within Knoppmyth and the web interface authentication system! Using Mythweb with no authentication could be acceptable, but webmin is not! Any idea’s? ![]() |
Author: | bruce_s01 [ Mon Dec 25, 2006 11:00 am ] |
Post subject: | |
During the installation, it asks for a password for the web interface, so you log on with "mythtv" user but using this password. For Webmin, in the Wiki, there are instructions for setting Webmin up, there is a step for setting the password for root, but using a different password than for console access. Bruce S. |
Author: | oegaoega [ Mon Dec 25, 2006 4:01 pm ] |
Post subject: | |
The password for root and webmin is set been chosen as same. (pass root == pass webmin) I renewed the password for webmin to make sure it the one I have in mind. Still no results! Whatever it is, it affects webmin AND mythweb authorization. |
Author: | bruce_s01 [ Mon Dec 25, 2006 5:48 pm ] |
Post subject: | |
The obvious question is, have you got your case correct when entering the passwords/usernames? ![]() Also have you set up Webmin to be accessable from the the subnet your other PC is on, the default is only the PC that Webmin is running on? Bruce S. |
Author: | oegaoega [ Tue Dec 26, 2006 6:06 am ] |
Post subject: | |
I have checked the password and reset it password zillion-times! To make sure: All the passwords are the same! I am now pretty confident that the password = correct! ![]() Quote: Also have you set up Webmin to be accessible from the subnet your other PC is on
The subnet is been set to 192.168.1.0 - So it should be accessible to every local PC (2x Vista-machines using explorer 7 and Firefox 2). I do have 2x network-card installed on the Myth-machine. I will remove one and see whether it will do any good. I will also try to install a virtual-one(VMWare) to see whether the results will be different on a different environment. Any other suggestions? ![]() |
Author: | oegaoega [ Tue Dec 26, 2006 9:41 am ] |
Post subject: | |
I installed the new R5E50 (released yesterday!) and it worked! ![]() ftp://ftp.knoppmyth.net/R5/R5E50/ nice release btw! greeting, Farid |
Author: | riversma [ Sat Dec 30, 2006 6:47 am ] |
Post subject: | Re: Webmin and mythwev login failure |
oegaoega wrote: Hi guys,
4 google days have been passed and I still can’t figure out what is wrong. I just can’t login with the web interface! (webmin and mythweb they both reply “login failed” ) I have tried changing passwords, adding new users, reinstalling and so on! When I disabled authentication by ToggleWebSecurity i could get in the mythweb. Enabling BasicAuth authentication, as described here, had no results yet. (login failure) Somehow there is no link between the defined users within Knoppmyth and the web interface authentication system! Using Mythweb with no authentication could be acceptable, but webmin is not! I had that same problem. This is how i got access. I used mythtv as the user and the password that i used in the installation proccess and i got access Any idea’s? ![]() |
Author: | lord_hammer [ Sun Dec 31, 2006 6:22 am ] |
Post subject: | webmin_login |
I have the same problem (on R5D1) = unable to log-in. In the file README.Debian I have found that the webmin on installation is set to use "root" as a log-in (username) and the current root user password as a webmin log-in password. I used mythtv as a log-in and as password without success. I,m sure that my spelling and password is correct beacuse I used it for su log-in, tty log-in and it works every time. Any suggestions on how to reset this thing to use my root password ? ![]() ![]() ![]() |
Author: | snet_siteop [ Sun Dec 31, 2006 6:49 am ] |
Post subject: | |
I did a search for webmin and setup and found some answers. See part 1 of this post to reset your password in webmin to whatever you want. Ignore the parts related to samba: http://mysettopbox.tv/phpBB2/viewtopic. ... bmin+setup Did that work for you? Here is another useful thread. Read tjc's comments: http://mysettopbox.tv/phpBB2/viewtopic. ... bmin+setup |
Author: | lord_hammer [ Sun Dec 31, 2006 7:28 am ] |
Post subject: | |
In the following post I found an answer: http://mysettopbox.tv/phpBB2/viewtopic. ... ght=webmin I actually didn't do the echo line; i did. Code: nano /etc/webmin/miniserv.conf
and the line allow=127.0.0.1 was already there. Quote: 2.2) Restoring your webmin setup. This assumes that your LAN is using the 192.168.1.0/255.255.255.0 private network IP range. If you are using a different range (e.g. 192.168.0.0/255.255.255.0) correct the "allow" line below accordingly.
Code: :# echo "allow=127.0.0.1 192.168.1.0" >>/etc/webmin/miniserv.conf :# /usr/share/webmin/changepass.pl /etc/webmin root YOURPASSWORDHERE :# /etc/init.d/webmin start :# update-rc.d webmin defaults This may not work until you reboot. My webmin log-in works fine now; i'm still puzzled with what went wrong first time. |
Author: | tjc [ Sun Dec 31, 2006 1:37 pm ] |
Post subject: | |
lord_hammer wrote: and the line allow=127.0.0.1 was already there.
Yeah, that was the case in R5D1. Those instructions were written specifically for R5E50. In the R5D1 instructions I think there was a sed command to edit the exisiting line. Something like this: Code: sed -si.orig \
-e "/\(host=\)dev\.mysettopbox\.tv/s//\1$(hostname)" \ -e "/\(allow=127.0.0.1\)/s//\1 192.168.1.0" \ /etc/webmin/miniserv.conf |
Author: | lord_hammer [ Mon Jan 01, 2007 10:14 am ] |
Post subject: | webmin_password |
Quote: Yeah, that was the case in R5D1. Those instructions were written specifically for R5E50. In the R5D1 instructions I think there was a sed command to edit the exisiting line.
I have used this to the letter on R5D1, and it worked perfect. I gues if you do not have that line"allow=127.0.0.1" you just add one with nano. For me the grep thing is an overkiill for a single short line (how long does it take you to retype it without mistakes if cut & paste is not an option). |
Author: | tjc [ Mon Jan 01, 2007 12:19 pm ] |
Post subject: | |
Well "the grep thing" came from a script which does the editting automagically. I've got a whole set of post install setup scripts like this that get run to tweak things after an upgrade. Manual editing might be easier the first 2-3 times, but after that scripts win hands down. It can also be simply cut and pasted from the browser into a shell session (if you're not already set up so that you can do this, I highly recommend this wiki page RemoteAccessfromWindows ). This avoids a whole class of problems that occur when you ask people to manually edit files. You'll notice that we use sed in a lot of examples like this for exactly that reason. If you've ever tried to talk someone through an editing session on the phone blind, or write foolproof directions for how to do something in a UI, you'll understand. |
Author: | lord_hammer [ Mon Jan 01, 2007 5:18 pm ] |
Post subject: | grep(sed) or no grep(sed) |
I'll stick with my original view. Quote: For me the sed thing is an overkiill for a single short line
For anything else, more serious and tedius, I agree with You; grep, sed, awk is a way to go. I do not undestand that "Remote Access from Windows" part; are you suggesting that I install "Windows" on my machines ?? - I have one WinPC (dual booted with SUSE 10 and with grub boot loader) that I use for my work and that is more then enough. |
Author: | tjc [ Mon Jan 01, 2007 5:40 pm ] |
Post subject: | Re: grep(sed) or no grep(sed) |
lord_hammer wrote: I do not undestand that "Remote Access from Windows" part; are you suggesting that I install "Windows" on my machines ?? No, I was not. Reread what I said about: Quote: cut and pasted from the browser into a shell session (if you're not already set up so that you can do this, ...
If you are running Linux on your machines, you are "already set up ...". |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |