Gossamer Forum
Home : Products : DBMan : Installation :

Can I Import PreDefined passwords?

(Page 2 of 2)
> >
Quote Reply
Re: Can I Import PreDefined passwords? In reply to
I hadn't looked at your file in the Resource Center yet, Mark. Last time I checked it hadn't been validated.

The problem with the code I posted earlier was the lack of the "chomp" command. The script was encrypting the newline character along with the rest of the password and, since the newline character is not entered when you log in, the login will always fail.

I shoulda looked at the file before and tried that. But I didn't. Smile


JPD
Quote Reply
Re: Can I Import PreDefined passwords? In reply to
I hate to keep bothering you but I'm not willing to give up on this. I copied the script in your previous post into a new convert.cgi file, exported a new file using the | symbol and got the following error message:

CGI ERROR
==========================================
Error Message : error in convert. unable chmod file: ./default.pass.
Reason: Operation not permitted

I reset the permissions but still no luck.
I'm feeling like everyone got cake but me!Frown

VaLinda


Quote Reply
Re: Can I Import PreDefined passwords? In reply to
Your web server probobly does'nt allow that command...

If default.pass already has its permissions set pre-convert, you can just comment out the line chmod 0666, $auth_pw_file;

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Can I Import PreDefined passwords? In reply to
Astro-Boy,

That did the trick!!!
I HAVE PASSWORDS!!! Smile Smile Smile

JPDeni, thanks for all the hours you put into this. Tongue
This should be in the resources, it is a valuable tool.

Thanks again, both of you. Wink
VaLinda


Quote Reply
Re: Can I Import PreDefined passwords? In reply to
Yay!!!!!! Smile

The script is in the Resource Center. Mark wrote it up and posted it there.


JPD
> >