Date: Thu, 9 Apr 1998 21:02:02 -0500 (CDT) From: Jeff Lynch <jeff@mercury.jorsm.com> To: Susie Ward <sward@voltage.net> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: passwd to .htpasswd script Message-ID: <Pine.BSF.3.95q.980409205651.29770A-100000@mercury.jorsm.com> In-Reply-To: <3.0.32.19980409194530.006be410@mail.voltage.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Apr 1998, Susie Ward wrote:
> Does anyone know of a script to convert the passwd file into an .htpasswd
> file for securing a web directory?
>
> Thanks,
>
> Susie
Sure,
cat /etc/master.passwd | awk -F: {printf("%s:%s\n", $1, $2)}
But I wouldn't necessarily recommend it. At the very least
delete your system and "important" logins. It is discouraged
to use of the same passwords in .htpasswd files that protect
meaningful or priveledged shell accounts because rouge
server cgi's can get stored passwords from the password cache.
=========================================================================
Jeffrey A. Lynch JORSM Internet
email: jeff@jorsm.com Northwest Indiana's Full-Service Provider
Voice: (219)322-2180 927 Sheffield Avenue, Dyer, IN 46311
Autoresponse: info@jorsm.com http://www.jorsm.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980409205651.29770A-100000>
