From owner-freebsd-questions Mon Apr 17 6:52: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from plains.NoDak.edu (plains.NoDak.edu [134.129.111.64]) by hub.freebsd.org (Postfix) with ESMTP id 3446A37B585 for ; Mon, 17 Apr 2000 06:52:03 -0700 (PDT) (envelope-from tinguely@plains.NoDak.edu) Received: (from tinguely@localhost) by plains.NoDak.edu (8.9.3/8.9.3) id IAA32493; Mon, 17 Apr 2000 08:52:01 -0500 (CDT) Date: Mon, 17 Apr 2000 08:52:01 -0500 (CDT) From: Mark Tinguely Message-Id: <200004171352.IAA32493@plains.NoDak.edu> To: smyru@eko.wroc.pl Subject: Re: moving with dump and restore Cc: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Monday, April 17, 2000, 3:30:39 AM, I got: > > > Are you trying to boot from wd0 or wd2? > yes, but I already fixed it. > > I was succesful with dump|restore. But I cannot > log in to the system after switching disks nor as > root nor as any other user. Is that caused by not > proper password base copying? Is there any special > way to do it? dump | restore should move all the files that you need, provided there weren't symbolic links already on that partition before you do the restore. (in other words restore would overwrite an existing symbolic link). but to be safe, check which crypt library you are using: ls -l /usr/lib/libcrypt.so it should say either: lrwxrwxrwx [deletes] /usr/lib/libcrypt.so@ -> libdescrypt.so or lrwxrwxrwx [deletes] /usr/lib/libcrypt.so@ -> libscrypt.so the DES library will properly cyrpts/decyrpt DES and MD5 encrypted passwords, and the S library crypts/decyrpts only the MD5 passwords. Check your password file, /etc/master.passwd, if all the passwords start with "$1", then you use MD5 ecryption. Second possiblity is that for some reason the master passwrd database, in /etc/spwd.db was not correctly created. As root, execute: # pwd_mkdb -p /etc/master.passwd --mark tinguely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message