Ooops ... thought this was a personal reply .. =)
gleNN
-- BEGIN included message
- To: FatCat <helen@nospam.progsoc.uts.edu.au>
- Subject: Re: A password question
- From: "gleNN!" <glennw@nospam.mailbox.tabnsw.com.au>
- Date: Tue, 12 May 1998 12:39:56 +1000
- References: <Pine.SUN.3.95.980512122501.14954A-100000@nospam.ftoomsh.progsoc.uts.edu.au>
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