From owner-freebsd-security Wed Jun 6 9:34: 6 2001 Delivered-To: freebsd-security@freebsd.org Received: from cartman.techsupport.co.uk (cabletel1.cableol.net [194.168.3.4]) by hub.freebsd.org (Postfix) with ESMTP id 0A48D37B401 for ; Wed, 6 Jun 2001 09:34:02 -0700 (PDT) (envelope-from ceri@techsupport.co.uk) Received: from ceri by cartman.techsupport.co.uk with local (Exim 3.22 #2) id 157gHB-0006Ln-00; Wed, 06 Jun 2001 17:35:21 +0100 Date: Wed, 6 Jun 2001 17:35:21 +0100 From: Ceri To: Olivier Nicole Cc: david@slis-two.lis.fsu.edu, freebsd-security@FreeBSD.ORG Subject: Re: Encrypted passwords Message-ID: <20010606173521.A23780@cartman.techsupport.co.uk> References: <200106061631.XAA02279@bazooka.cs.ait.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106061631.XAA02279@bazooka.cs.ait.ac.th>; from Olivier.Nicole@ait.ac.th on Wed, Jun 06, 2001 at 11:31:27PM +0700 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jun 06, 2001 at 11:31:27PM +0700, Olivier Nicole said: > > I wonder if crypt in Perl corresponds to crypt(3). There must b some > reason somewhere... Yeah, of course it does : setantae@shaft setantae$ perldoc -f crypt crypt PLAINTEXT,SALT Encrypts a string exactly like the crypt(3) function in the C library (assuming that you actually have a version there that has not been extirpated as a potential munition). This can prove useful for checking the password file for lousy passwords, amongst other things. Only the guys wearing white hats should do this Ceri -- I probably wouldn't like you. Really. I really probably wouldn't like you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message