Re: [squid-users] backup password file

From: Henrik Nordstr�m <[email protected]>
Date: Wed, 21 Aug 2002 08:17:48 +0200 (CEST)

On Mon, 19 Aug 2002, dfgbgdf bgfbgf wrote:

> How to save the password file ? I would like to save this file for security
> and use it on a second server if the first is shutdown.
>
> I am trying to save my password file with ftp command.
> My problem : when i copy (reload) my password file from ftp server (windows
> 2000) to squid server the authentication doesn't works. The password seems
> corrupt because I must rewrite all passwords for all users !!!

Should work fine. The NCSA password file is just a text file with two
fields

username:encrypted_password_hash

where the encrypted_password_hash field is encrypted using the standard
UNIX crypt() algorithm.

But it might be a ftp transfer problem.. make sure you transfer the file
using ascii transfer mode when transferring between Windows and UNIX. (the
ascii or text ftp command)

Regards
Henrik
Received on Wed Aug 21 2002 - 00:17:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:45 MST