Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Apr 1997 14:57:34 +0300
From:      Ruslan Shevchenko <rssh@cki.ipri.kiev.ua>
To:        Alexander Snarskii <snar@lucky.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Webserver, htpasswd program.
Message-ID:  <3348E12E.78EF@cki.ipri.kiev.ua>
References:  <199704071149.OAA17314@burka.carrier.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Snarskii wrote:
> 
> In article <334792FE.289@cki.ipri.kiev.ua> you wrote:
> >>
> >> When I installed the OS, Apache seemed to install fine.  However,
> >> how I am putting a .htaccess file on a subtree of web data, and
> >> I can't find the 'htpasswd' program to create a password file.
> >>
> >> Does anyone know what I should do?  Also, could anyone tell me how
> >> to use the UNIX passwd file instead of the one created by htpasswd?
> >>
> 
>  RS>Yo can manually put /etc/passwd in you directory,
>  RS>with you file name (.htaccess)
>  RS>and it must work
> 
> Ruslan, it will not work.. Just because /etc/passwd in FreeBSD
> does not contain encrypted passwords.
> You need to use /etc/master.passwd instead.

O, yes. It is /etc/master.passwd
   

> 
>  RS>(On my mashine such think is work, but i got only
>  RS>first 2 fields from /etc/passwd (removing all others)
> 

 In principle, it is trivial to determinate, that 
under /etc/passwd means /etc/master.passwd from
words "first 2 fiellds"

So, sorry, you must copy /etc/master.passwd instead
of /etc/passwd.

In other all is true, this method is usable.

   

> --
> Alexander Snarskii
> the source code is included.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3348E12E.78EF>