osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[users@httpd] Are passwords with embedded spaces allowed using htdbm?


I can get htdbm to accept a cleartext password with spaces when using the mode where I enter the password at the command line, e.g.,

  htdbm -cB dbmfilename user

and the password is validated ok using 

  htdbm -vB dbmfilename user

but I can’t get it to work using the batch mode:

  htdbm -cbB dbmfilename user passwordwithspaces

I have tried using single quotes around the password as well as backslashes before the space without success.

I would love to be able to programmatically use passwords with spaces if anyone can show me how to do it.

Thanks.

Best regards,

-Tom