I wrote a script to batch-create directories with .htaccess and .htpasswd files.
I am using the following line to create the .htpasswd file:
However, I keep getting this message in return:
I tried it directly from the shell (no variables), and got the same error. Could it be that the version of htpasswd on this server does not support the -b option? If so, where can I get a version that supports it? The server is running FreeBSD 6.3.
Thanks
AS
---------- Post updated at 04:57 PM ---------- Previous update was at 01:23 PM ----------
Figured it out. It looks like this server has a REAL old version of apache. I downloaded newer apache binaries and uploaded the newer htpasswd to a directory on the server (since it is not my server, I can't upgrade apache on it).
Last edited by Spetnik; 12-24-2009 at 04:57 PM..
Reason: resolved
question:
i just installed FreeBSD 4.7 on my laptop, when i log in as root, i can startx no problem at all but when i try to start it as a user, i can't. otiginally it told me i needed to be a member of the group 'wheel' to do startx, no problem, added myself in /etc/group, but for some reason i... (1 Reply)
i'm following the, "How to setup and secure Snort, MySQL and Acid on FreeBSD 4.6 Release" off of the snort.org website.
in the documentation it says snort should be installed through the following:
-----
make -DWITH_MYSQL -DWITH_FLEXRESP ; make install
-----
later it says to do the... (13 Replies)
I have been using Linux for 3 years now, and I think I am getting enough knowledge (and confidence) to try some more 'traditional' unix variants. I installed FreeBSD 5.0-CURRENT. I have a couple of questions for the time being:
1) Frequently when I need to compile software packages they can't... (16 Replies)
dear unix,
need ur help, i have installed apache n apache is working... but i cant use htpasswd , the error said command not found. for web authentucation...
thanks for any help
:confused: (4 Replies)
All,
I am a bit of a BSD newbie and haven't really played with it for years, but I have had a recent situation whereby someone attempted to load a custom kernel module and ended up breaking my BSD server.
I managed to fix it by doing the following:
Booting into loader mode:
unload
set... (3 Replies)
Server: FreeBSD 7.2-RELEASE
MYSQL Version: MYSQL 5.1.36
PHP Version: 5.2.10 (apache2handler)
IP.Board Version: v3.0.2
Safe Mode: OFF
For the most part previously IP.Board, forum software, has run fine without any issues. Regular web pages and .php pages seem to load fine without any issues.... (2 Replies)
Hi!
I have a major issue with FreeBSD 7.1 i386.
We did a change in our Unix env where we exchanged home storage from a NetAPP running udp to a NetAPP running tcp.
Now I cant mount homedirs since NFS/AMD seem to fallback to udp :(
Trying to force it with amd options nfs_proto=tcp and so on.
... (0 Replies)
(1) Hi, Am working on FreeBSD 7.4/i386 and installed Opera 11.01 through ports collection manually... But when I run first time am getting "opera: cannot connect X server. Error: Unknown error: 0" What is this error all about???? Please help me to sort out this issue!!!
(2) Hi, currently am... (12 Replies)
Hello,
I'm attempting to setup a test network with a client-server based architecture using a proprietary application. The client works by communicating with the server on separate links (typically cellular connections) and then initiates a tunnel over each active link. However, in place of the... (0 Replies)
I just got FreeBSD up and running with an XFCE desktop on an old Gateway laptop. It works great, except the wireless setup is scaring me. I can connect to my home WiFi fine most of the time, but I'm concerned about other WiFi that I will need to connect to away from home.
I understand that I can... (1 Reply)
Discussion started by: BrentBANKS
1 Replies
LEARN ABOUT CENTOS
basic_ncsa_auth
basic_ncsa_auth(8) System Manager's Manual basic_ncsa_auth(8)NAME
basic_ncsa_auth - NCSA httpd-style password file authentication helper for Squid
SYNOPSIS
basic_ncsa_auth passwd file
DESCRIPTION
basic_ncsa_auth allows Squid to read and authenticate user and password information from an NCSA/Apache httpd-style password file when
using basic HTTP authentication.
This password file can be manipulated using htpasswd.
This authenticator accepts: * Blowfish - for passwords 72 characters or less in length * SHA256 - with salting and magic strings *
SHA512 - with salting and magic strings * MD5 - with optional salt and magic strings * DES - for passwords 8 characters or less in length
NOTE: Blowfish and SHA algorithms require system-specific support.
OPTIONS
The only parameter is the password file. It must have permissions to be read by the user that Squid is running as.
CONFIGURATION
basic_ncsa_auth /etc/squid/squid.pass
basic_ncsa_auth must have access to the password file to be executed.
KNOWN ISSUES
DES functionality (used by htpasswd by default) silently truncates passwords to 8 characters. Allowing login with password values shorter
than the one desired. This authenticator will reject login with long passwords when using DES.
AUTHOR
This manual was written by Amos Jeffries <amosjeffries@squid-cache.org>
Based on original documentation by Rodrigo Rubira Branco <rrbranco@br.ibm.com>
COPYRIGHT
This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org>
REPORTING BUGS
Bug reports need to be made in English. See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with
your bug report.
Report bugs or bug fixes using http://bugs.squid-cache.org/
Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org>
Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org>
SEE ALSO squid(8), htpasswd(1), GPL(7),
The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq
The Squid Configuration Manual http://www.squid-cache.org/Doc/config/
May 16, 2006 basic_ncsa_auth(8)