From owner-freebsd-bugs Thu May 18 20:24:28 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA09707 for bugs-outgoing; Thu, 18 May 1995 20:24:28 -0700 Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id UAA09695 for ; Thu, 18 May 1995 20:24:24 -0700 Message-Id: <199505190324.UAA09695@freefall.cdrom.com> Received: by crh.cl.msu.edu (1.38.193.4/16.2) id AA12841; Thu, 18 May 1995 23:24:23 -0400 Date: Thu, 18 May 1995 23:24:23 -0400 From: Charles Henrich To: freebsd-bugs@FreeBSD.org Subject: Re: adduser bug, fix... X-Newsreader: NN version 6.5.0 #10 (NOV) Sender: bugs-owner@FreeBSD.org Precedence: bulk The problem is the returned salt, while the freebsd man pages asks that the crypt salt string begin with a '_', no other crypt's do. If you remove the initialization of $salt to '_' in sub salt(), everything works as advertised. Did libcrypt() change to be more standard, or is this a perlism? -Crh Charles Henrich Michigan State University henrich@crh.cl.msu.edu http://rs560.msu.edu/~henrich/ -- Charles Henrich Michigan State University henrich@crh.cl.msu.edu http://rs560.msu.edu/~henrich/