> -----Original Message-----
> From: kyle [mailto:kyle@;source.intac.net]
> Sent: 11 November 2002 08:49
> To: Aled Treharne
> Cc: Andrew Ryan; [EMAIL PROTECTED]
> Subject: RE: mon.cgi not remembering login details?
> 
> 
> Can you send a snippet of your auth.cf and also of your 
> authtype in your
> mon cf file (if you are using shadow/getpwnam/userfile)?

Sure.

auth.cf:
command section

ack:            AUTH_ANY
checkauth:      all
clear:          AUTH_ANY
disable:        AUTH_ANY
dump:           AUTH_ANY
enable:         AUTH_ANY
get:            AUTH_ANY
list:           all
loadstate:      AUTH_ANY
protid:         all
quit:           all
reload:         AUTH_ANY
reset:          AUTH_ANY
savestate:      AUTH_ANY
servertime:     all
set:            AUTH_ANY
start:          AUTH_ANY
stop:           AUTH_ANY
term:           AUTH_ANY
test:           AUTH_ANY
version:        all

trap section

*       aled    7/M5iqk94w5zw

mon.cf:
authtype = userfile
userfile = /etc/mon/auth.cf
(which is, I assume, the bit you wanted)
 
> Also, to rule out your browser or anything not related to 
> mon, search for
> "default_username" and "default_password"(or something similiar to the
> two) in mon.cgi and modify it so it defaults to the 
> "aled" account(remember to change this back once you see the 
> outcome!).

Ok, tried that - has absolutely no effect.

Something interesting, I spotted the cookie debug options in mon.cgi and
uncommented them. The strings that appear at the top of the webpage are:
cookie value is                 (never changes)
encrypt password is     (never changes)
username is ""
decrypt password is ""

The last two have the correct values in them when I log in, but *only*
for the page following me logging in. Some more fiddling shows that no
matter what user/pass I type in, it accepts it for the first page, but
then forgets it....WTF??

Cheers,
Aled.

--
Aled Treharne - Technical Solutions Advisor - Frontier Internet Services
Ltd
Tel: 029 2082 0000 Fax: 029 2082 0038  http://www.frontier.net.uk
Statements made are at all times subject to Frontier's Terms and
Conditions of Business, which are available upon request.


Attachment: smime.p7s
Description: application/pkcs7-signature

Reply via email to