From owner-freebsd-questions Wed Mar 8 13:50:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.alpha.net.au (mail2.alpha.net.au [203.41.44.8]) by hub.freebsd.org (Postfix) with ESMTP id 6932037C28A for ; Wed, 8 Mar 2000 13:50:44 -0800 (PST) (envelope-from dannyh@idx.com.au) Received: from freebsd.freebsd.org (surry-pool-211.alpha.net.au [203.41.44.211] (may be forged)) by mail.alpha.net.au (8.9.3/8.9.3) with SMTP id IAA22434; Thu, 9 Mar 2000 08:51:08 +1100 From: Danny To: Brian Anderson , Justin Boss Subject: Re: backing up user names and groops Date: Fri, 10 Mar 2000 08:52:05 +1100 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain Cc: freebsd-questions@FreeBSD.ORG References: MIME-Version: 1.0 Message-Id: <00031008531605.00345@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG But instead of copying it over with "cp" dont you meant to use the "Cat" command like so:- cat old.master.passwd >> /etc/master.passwd Looking forward to your feedback. dannyh dannyh@idx.com.au On Thu, 09 Mar 2000, Brian Anderson wrote: > On Wed, 8 Mar 2000, Justin Boss wrote: > > > I was wondering if there is a way to backup all user and group. I'm bring up > > a new server and I tared the user directories but UID# is different when I > > add the user back. So then I have to change the owner. Is there files that I > > can just bring over form the old server? > > > > user data is in /etc/master.passwd > group data /etc/group > > those files can be copied from one system to another, and will get your > user accounts moved over. when you copy master.passwd, make sure to > rebuild your user database (man pwd_mkdb) > > > brian > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message