From owner-freebsd-questions Thu Nov 2 8:25:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from marlo.eagle.ca (marlo.eagle.ca [209.167.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 2791837B4CF for ; Thu, 2 Nov 2000 08:25:37 -0800 (PST) Received: from localhost (freymann@localhost) by marlo.eagle.ca (8.9.2/8.9.1) with SMTP id LAA24936 for ; Thu, 2 Nov 2000 11:25:31 -0500 (EST) Date: Thu, 2 Nov 2000 11:25:31 -0500 (EST) From: Gerry Freymann To: freebsd-questions@freebsd.org Subject: copying master.passwd from 2.2.5 to 4.1.1 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Are there any guides or friendly smart people in here that can assist me in this task? I have a FreeBSD 2.5.5 system which we are going to replace with a new box running FreeBSD 4.1.1 Naturally, I'd like to copy over the /etc/master.passwd file from the old to the new and retain the usernames and password. I'll edit the /etc/group file as well. I've tried this already by doing: pwd_mkdb /etc/master.passwd but none of the passwords are recognized. It was suggested to me I need to confirm if 2.2.5 is using DES or md5, and ditto on 4.1.1. This is where I'm lost. How do you find this out? From what I can see in the master.passwd file, the password length in 2.2.5 is about half the length of the password in 4.1.1 I booted into single user mode, updated the password for root and my account, then booted back up in normal mode and took a look around. A grep of the /etc/login.conf for passwd on the 2.2.5 box produces: :auth=krb_skey_or_passwd,passwd,kerberos,skey: :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\ :auth=skey_or_pwd,passwd,skey: A grep of the /etc/login.conf for passwd on the 4.1.1 box results in nothing. Any suggestions? pointer? tips? Thanks. Gerry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message