Re: Apache Authorization Access Control - location of htpasswd in Centos 5.1?

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



On Sun, Apr 6, 2008 at 7:31 AM, Pam Astor <pamastor@xxxxxxxxxxx> wrote:

>
> 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.

[jperrin@insanity ~]$ which htpasswd
/usr/bin/htpasswd

However keep in mind that just because you can run the utility doesn't
mean that you'll have permissions to where it puts the files. It's
possible that you may have to run htpasswd as root.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux