[nonspam] Re: [nonspam] Re: [Xitami] Next question: edit .aut file

Magus magus1011ca at yahoo.ca
Sun Apr 8 04:25:04 CEST 2007


Hello Toni,

Saturday, April 7, 2007, 7:50:07 PM, you wrote:

> Johannes, I appreciate your hanging in there with me on this, but as I
> said in last message, I don't see how the files can be wrong when I cut
> and pasted from FAQ and have checked and rechecked innumerable times.
> But because you asked for it, here they are (I have substituted the
> sample ID and password from the FAQ for my own):

> The defaults.aut file:
> [/Admin]
>    admin=verysecret

> The defaults.cfg file:
> [Security]
>     filename=defaults.aut

> Toni

> Johannes Prost wrote:
>> I guess it's time you just show us your files by marking the password /
>> username with xxxx
>> Did you write correct the .aut file in your .cfg file ? Can you check that ?
>>
>>
>>
>>   
>>> Well, I cut and pasted from FAQ, so I don't think the username password
>>> entries can be wrong.  Did the same thing with your suggestions, and
>>> with Rick's.  And Notepad has four different options for encoding when
>>> saving; I saved in all four (ANSI, Unicode, etc.).  Stumped.  I even
>>> totally reinstalled Xitami.  I'm out of things to try.
>>> Long experience as a computer user tells me that when the answer
>>> emerges, it will be something maddeningly simple.  Sigh.
>>> Toni
>>>
>>> Johannes Prost wrote:
>>>     
>>>> Toni,
>>>>
>>>> correct, both files go in the same directory and because the
>>>> username/password box is coming up the setup is correct. You MUST have
>>>> something wrong with the username password entries. That is the only
>>>> spot
>>>> I can think of.
>>>>
>>>> Johannes
>>>>
>>>>
>>>>       
>>>>> Hi, Johannes...
>>>>> Yes, I did create both the cfg and the aut files.  I realized that I
>>>>> need both even though you didn't mention the aut file specifically.
>>>>> I've been going through this over and over this morning and just can't
>>>>> find anything wrong, the username/password window DOES come up but it
>>>>> just doesn't accept the ID and password I set up, whether I use admin
>>>>> and verysecret from the faq, or my own.  I feel sure the two files need
>>>>> to go in same directory as xitami.cfg, right? I am wondering if
>>>>> something is missing in the installation of Xitami, any other things I
>>>>> might need on my system.  When I received this message from you I was
>>>>> reading through documentation but haven't come across anything yet.  It
>>>>> appears I only need to decompress the zip file and put the folder on my
>>>>> c: drive.  It doesn't appear to install anything in registry, is that
>>>>> right?  Have been wondering about that.
>>>>>
>>>>> I appreciate your help.
>>>>>
>>>>> Toni
>>>>>
>>>>> Johannes Prost wrote:
>>>>>
>>>>>         
>>>>>> Toni,
>>>>>>
>>>>>> as Rick mentioned, you have to create the defaults.cfg file with the
>>>>>> reference to defaults.aut . I actually forgot about this, as I am no
>>>>>> longer using xitami activially. Please check your files and entries.
>>>>>> You should be able to call xitami in the browser with
>>>>>> http://youriphere/admin
>>>>>>
>>>>>> This should bring up the username/password window
>>>>>>
>>>>>> Johannes
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>>>> I was not successful logging in using either this method from
>>>>>>> Johannes
>>>>>>> nor the one in the FAQ (which I had missed somehow and Rick told me
>>>>>>> about).  I have checked and doublechecked to be sure I entered
>>>>>>> everything correctly, for both techniques.  ???  I see only one thing
>>>>>>> that might make a difference.  My Xitami start window has TWO IP
>>>>>>> addresses, 198... and 127....  Both bring up the Xitami welcome page
>>>>>>> in
>>>>>>> the browser.  Does this change the way I need to set up the
>>>>>>> defaults.aut
>>>>>>> file?  I even tried using a different browser.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Johannes Prost wrote:
>>>>>>>
>>>>>>>
>>>>>>>             
>>>>>>>> Toni,
>>>>>>>>
>>>>>>>> create a new file default.aut with notepad. When saving in notepad,
>>>>>>>> put
>>>>>>>> this in the box "default.aut."  The " will prevent windows to add
>>>>>>>> the
>>>>>>>> default .txt file extension to the file. In this way it is not a
>>>>>>>> .txt
>>>>>>>> file
>>>>>>>> Put this in the file
>>>>>>>>
>>>>>>>> [/admin]
>>>>>>>>     your username here = "your password here"
>>>>>>>>     Webmask = "192.168.100.*"
>>>>>>>>
>>>>>>>> Replace 'your username here' with your username and 'your password
>>>>>>>> here'
>>>>>>>> with your password. Please leave the " around the password
>>>>>>>> And the above IP range change with yours. This tells xitami which IP
>>>>>>>> range
>>>>>>>> or even only one single IP if you wish, will be allowed to use for
>>>>>>>> webaccess to the admin area. I liked more reading and configuring
>>>>>>>> with
>>>>>>>> the
>>>>>>>> files itself.
>>>>>>>>
>>>>>>>> And If you make changes to the configuration file, please make a new
>>>>>>>> one.
>>>>>>>> DON'T change xitami.cfg, make a new defaults.cfg which contains your
>>>>>>>> customized settings.
>>>>>>>>
>>>>>>>> Take the time to read the xitami.cfg file and you will learn most of
>>>>>>>> the
>>>>>>>> handling/working of xitami.
>>>>>>>>
>>>>>>>> Johannes
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>               
>>>>>>>>> Now I can't log in to Xitami admin because I don't know what
>>>>>>>>> password
>>>>>>>>> is
>>>>>>>>> in the xitami.aut file, and I don't know how to read it (hate
>>>>>>>>> parading
>>>>>>>>> my ignorance like this but....).  I tried opening it in notepad but
>>>>>>>>> that
>>>>>>>>> didn't work.  How do I do this?
>>>>>>>>>
>>>>>>>>> Toni

FWIW here's my defaults.cfg security entry:

[Security]
    Filename = "defaults.aut"

Here's what I would use in defaults.aut:

[/Admin]
    admin=verysecret

Also check xitami.cfg, not defaults.cfg, to make certain that in the
[Security] section you have: admin=1 and not admin=0. If I remember
the source code correctly the admin item is only good in xitami.cfg.

The only other things I can think of are silly errors, remember that
the case of admin doesn't matter when you type it into the User Name
box but that case for the password _does_ matter when you type it into
the Password box in the Prompt window.

Also the top line of the Prompt window should read 'Enter username and
password for "/admin" at http://127.0.0.1' if you type
"http://127.0.0.1/admin" into the location bar of your browser. If you
type in some address other than 127.0.0.1 for your Xitami server such as
'http://brewhau.dyndns.tv/' then that address should be substituted
for the http://127.0.0.1 in the top line of the Prompt window.

I hope this helps.

-- 
Best regards,
 Magus



More information about the Xitami mailing list