From owner-freebsd-questions Tue Mar 26 21:12:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA19951 for questions-outgoing; Tue, 26 Mar 1996 21:12:04 -0800 (PST) Received: from fastlane.net (fastlane.net [204.251.16.10]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id VAA19893 for ; Tue, 26 Mar 1996 21:12:00 -0800 (PST) Received: from ben (fw67.fastlane.net [206.42.189.67]) by fastlane.net (8.7.3/8.7.3) with SMTP id AAA08174; Wed, 27 Mar 1996 00:05:38 -0600 (CST) Message-Id: <2.2.32.19960327050949.006b40d8@webbworld.com> X-Sender: ivesbf@webbworld.com X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 26 Mar 1996 23:09:49 -0600 To: Bryan Ogawa at Work From: Ben Ives Subject: Re: password protection Cc: questions@freebsd.org Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thanks, I got it working, sort of. I can not get het htpasswd to make a password for me. I made a copy of my passwd.master file, then edited it to work for my .htpasswd file so I could try it. It worked great. But I guess I dont have the htpasswd program installed. I tried using it as you said below, but says command not found. Does that mean I do not have the program? Can I execute the program from any directory? Where can I get htpasswd, and where do I put it on my tree? Thanks for your help. >The password files are most easily handled with a program htpasswd which >comes with NCSA and Apache. Invocation of htpasswd is: > > htpasswd [-c] filename username > >it adds the user named username to the htpasswd file named filename. > >The -c flag creates the file, without that flag it will modify or add the >user as appropriate. > >There are a number of more advanced options (such as groups and global >configuration file options), but this is designed as a simple >cookbook example for someone to play with to get running. > >