From owner-freebsd-current Sun Sep 16 14:39:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from front2.chartermi.net (24.213.60.124.up.mi.chartermi.net [24.213.60.124]) by hub.freebsd.org (Postfix) with ESMTP id 6F00F37B408 for ; Sun, 16 Sep 2001 14:39:32 -0700 (PDT) Received: from [24.247.81.122] (HELO rain.hill.hom) by front2.chartermi.net (CommuniGate Pro SMTP 3.5b2) with SMTP id 18831178 for current@freebsd.org; Sun, 16 Sep 2001 17:39:31 -0400 Date: Sun, 16 Sep 2001 17:37:57 -0400 From: David Hill To: current@freebsd.org Subject: adduser login class bug Message-Id: <20010916173757.49cd6c0b.david@phobia.ms> X-Mailer: Sylpheed version 0.6.1 (GTK+ 1.2.10; i386--freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello - I added a login class to my /etc/login.conf and then ran cap_mkdb /etc/login.conf test:\ :passwd_format=blf: I then proceeded to add a user. When it came to login class, i put in test. After the adduser script was done, i looked in /etc/master.passwd, and the password was encrypted with des. I then ran passwd user, and changed his password. This changed it to blowfish. So, does adduser need to check for the passwd_format in /etc/login.conf and run something like crypt_set_format() ? Thanks - David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message