problems with htpasswd

do you have a file called passwords in /etc/httpd/passwd/?

I usually just run htpasswd FILE USERNAME in the correct directory, then it will ask for the password, type it in twice & your done.
 
do you have a file called passwords in /etc/httpd/passwd/?

No, but the -c flag is meant to do that.. and when I look at the man page that seems to be right.. it's just doesn't work :(

I'll try it that way . . .

EDIT: yep, that works thanks... I still don't understand why the other method doesn't though :(
 
Last edited:
AtomicBanana said:
and this command, just will not work, and I have no idea why:

htpasswd -c /etc/httpd/passwd/passwords username password

if I type that it just spits back a useage guide, which I'm sure I'm following?

you should be using
Code:
htpasswd -b -c /etc/httpd/passwd/passwords username password

or don't pass the password on the command line.
 
Back
Top Bottom