Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 12:47:36 -0400 (EDT)
From:      David Miner <david@slis-two.lis.fsu.edu>
To:        "Karsten W. Rohrbach" <karsten@rohrbach.de>
Cc:        Ralph Huntington <rjh@mohawk.net>, edwin chan <huacheng@public.guangzhou.gd.cn>, Olivier Nicole <Olivier.Nicole@ait.ac.th>, <freebsd-security@FreeBSD.ORG>
Subject:   Re: Encrypted passwords
Message-ID:  <Pine.BSF.4.30_heb2.09.0106081245290.74618-100000@slis-two.lis.fsu.edu>
In-Reply-To: <20010608172009.F3071@mail.webmonster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Long way around the barn, but this worked:

`echo -n '$pwd1[$a]' | pw useradd -n $name -c $fullname -d $userhome -s $s
-m -h 0`;

I replaced all of the encrypted stuff and simplified the program.  It is
still a mystery as to why it works in adduser, why the encrypted password
looks the same as program output and under vipw, but the user cannot login
with it.

Oh well.  Thanks to everyone who helped!!! End of thread.

David
---------------------------------------------------------------------
David R. Miner                                   miner@lis.fsu.edu
Systems Integrator                               voice: 850-644-8107
School of Information Studies                    fax:   850-644-6253
Florida State University
Tallahassee, FL  32306-2100



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" 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.4.30_heb2.09.0106081245290.74618-100000>