From owner-freebsd-questions Fri Apr 28 6:58: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wasp.eng.ufl.edu (wasp.eng.ufl.edu [128.227.116.1]) by hub.freebsd.org (Postfix) with ESMTP id 9E67E37BEFF for ; Fri, 28 Apr 2000 06:57:58 -0700 (PDT) (envelope-from bob@eng.ufl.edu) Received: from eng.ufl.edu (scanner.engnet.ufl.edu [128.227.152.221]) by wasp.eng.ufl.edu (8.9.3/8.9.3) with ESMTP id JAA09589; Fri, 28 Apr 2000 09:57:56 -0400 (EDT) Message-ID: <3909989C.66EDD70F@eng.ufl.edu> Date: Fri, 28 Apr 2000 09:56:44 -0400 From: Bob Johnson Organization: University of Florida X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: zicc@bellatlantic.net Cc: questions@freebsd.org Subject: Re: FreeBSD Passwords Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Thu, 27 Apr 2000 21:53:55 -0400 > From: Chad Ziccardi > Subject: FreeBSD Passwords > > Hello, > > I'm the process of adding new boxes, and went with freebsd over linux on > the new ones. My question is how can I convert shadow+md5 password files > from linux (RH 6.1 I believe), to freebsd's format? I'm not running nis, > nor do I plan to. FreeBSD will automatically recognize and use md5 passwords if they are in the password file. New accounts will use DES by default if you have DES installed. There is some way to force the new accounts to use MD5, but I don't remember it. Look in the Handbook or search the mail archive for info if you want everyone to have MD5 passwords. If the Linux shadow password file and the FreeBSD master.passwd have the same format, AND your /etc/group files match, just move the shadow password file to FreeBSD and run pwd_mkdb (I think that's it) to update all of the other password files. Read man 5 passwd for more info, including a sample script for converting password file formats. -- Bob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message