Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2000 08:52:05 +1100
From:      Danny <dannyh@idx.com.au>
To:        Brian Anderson <bunicula@rcn.com>, Justin Boss <jboss@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: backing up user names and groops
Message-ID:  <00031008531605.00345@freebsd.freebsd.org>
References:  <Pine.BSF.4.21.0003081242430.17098-100000@asmodeus.diabolis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00031008531605.00345>