From owner-freebsd-questions Fri Aug 29 10:05:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA14859 for questions-outgoing; Fri, 29 Aug 1997 10:05:39 -0700 (PDT) Received: from netrail.net (netrail.net [205.215.10.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA14851 for ; Fri, 29 Aug 1997 10:05:36 -0700 (PDT) Received: from localhost (jonz@localhost) by netrail.net (8.8.6/8.8.6) with SMTP id NAA20715 for ; Fri, 29 Aug 1997 13:04:08 GMT Date: Fri, 29 Aug 1997 13:04:08 +0000 (GMT) From: "Jonathan A. Zdziarski" To: freebsd-questions@freebsd.org Subject: MD5 Salts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk How do you find the salt in MD5 Encryption? It APPEARS to be the 4th and 5th character, however when I attempt to crypt against something in the master password file, the rest of the password still does not match up. On the other hand if I 'sudo' perl -e crypt it, it crypts properly, however if I put the command into a script, and run it as root (or use suidperl) it does not crypt properly. Any help would be appreciated. ------------------------------------------------------------------------- Jonathan A. Zdziarski NetRail Incorporated Systems Engineering Manager 230 Peachtree St. Suite 500 jonz@netrail.net Atlanta, GA 30303 http://www.netrail.net (888) - NETRAIL -------------------------------------------------------------------------