<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BLOCKQUOTE>
<DIV class=EC_OutlookMessageHeader lang=en-us dir=ltr align=left>> >>> I tried creating a password file by executing htpasswd -c /passwd/passwords> > famsite but apparently htpasswd is not in my path, I'm getting the "cannot> > create file /passwd/passwords famsite" error.> >> >> >> > Anyone know where the default location of htpasswd is on a centos 5.1> > install? Or how to generate a password file on a centos 5.1 install?> > > There's a utility called 'which' you can use to discover the location> of certain apps you want to learn about.<BR>> > Thanks! Ok I ran /usr/bin/htpasswd -c /passwd/passwords famsite as root, and still got<BR>> > the cannot create file error.<BR>> <BR>> Does the /passwd directory exist?<BR> <BR>It does now.  It did not when I first ran the command, however <BR>I just created the directory /passwd/passwords<BR>and re ran the command as root, and still no luck.<SPAN class=EC_078591014-06042008><FONT face=Arial color=#0000ff> </FONT></SPAN></DIV>
<DIV><SPAN class=EC_078591014-06042008></SPAN> </DIV>
<DIV><SPAN class=EC_078591014-06042008><FONT face=Arial color=#0000ff>PS, I think there are some permission requirements for the directory and file as well.  I think they have to be owned by 'apache'.</FONT> </SPAN></DIV>
<DIV><SPAN class=EC_078591014-06042008></SPAN> </DIV>
<DIV><SPAN class=EC_078591014-06042008>The dirs were owned by root, so I just chown'ed to apache, re ran the command </SPAN></DIV>
<DIV><SPAN class=EC_078591014-06042008>/usr/bin/htpasswd -c /passwd/passwords famsite, still no luck. </SPAN></DIV></BLOCKQUOTE><br /><hr />Pack up or back up–use SkyDrive to transfer files or keep extra copies. <a href='hthttp://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008' target='_new'>Learn how.</a></body>
</html>