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

[ProgSoc] [Fwd: A password question]



Ooops ... thought this was a personal reply .. =)

                gleNN

-- BEGIN included message

Hey HeLeN =)

FatCat wrote:

> and this is the .htpasswd
>
> ---------------------
> LadyE:WhyAreUHere?
> ---------------------
>
> and when I click the link to the files in ./me
> it gives a login box
>
> I type:
>                 ------------
> User name:      LadyE
> Password:       WhyAreUHere?
>                 ------------
> and I keep getting the error message...
>
> When did I do wrong?
>
>                                         HELEN

  You actually have to use the htpasswd command to create the password file
itself. This file encrypts the
password you supply using the standard Unix encryption ...

So you create your password file like so ....

"htpasswd -c <passwordfile> <username>"

In your case, the <passwordfile> is ".htpasswd", and the user you want to add
is "LadyE"

so ... "htpasswd -c .htpasswd LadyE" and this program will ask you to put in
the password =)

If you want to add other users, just take out the "-c" switch. (This "-c"
switch just tells the program
that it has to create the passwordfile because it doesnt exist).

Hope it helps =)

           bYe,

                    gleNN


-- END included message