From owner-freebsd-questions Wed Apr 26 3:12:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pluton.ispras.ru (pluton.ispras.ru [194.186.94.6]) by hub.freebsd.org (Postfix) with ESMTP id 7704737B71E for ; Wed, 26 Apr 2000 03:12:17 -0700 (PDT) (envelope-from grn@ispras.ru) Received: from gate.ispras.ru (gate [194.67.37.200]) by pluton.ispras.ru (8.9.3/8.9.3) with ESMTP id OAA17072; Wed, 26 Apr 2000 14:08:04 +0400 (MSK) Received: from ispgate (ispgate [194.67.37.200]) by gate.ispras.ru (8.9.3/8.9.3) with SMTP id OAA13910; Wed, 26 Apr 2000 14:09:06 +0400 (MSK) Message-Id: <200004261009.OAA13910@gate.ispras.ru> Date: Wed, 26 Apr 2000 14:09:06 +0400 (MSK) From: Kluchnikov Grigory Reply-To: Kluchnikov Grigory Subject: Re: Replication of user accounts To: freebsd-questions@FreeBSD.ORG, davew@sai.co.za MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: HxLseVRvmzokL1iT2LjPeA== X-Mailer: dtmail 1.2.0 CDE Version 1.2 SunOS 5.6 sun4m sparc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dave Wilson wrote: > Hi guys, howzit going ? > > Is there a way to replicate users from one FreeBSD 3.4 Box to another one? > Even if I have to do it manually it will not be a problem, ie copying the > /etc/passwd across from on server to another. > What files are needed, apart from /etc/passwd to replicate the user accounts > across ? Read 'man 5 passwd' and 'man pwd_mkdb'. There are several files: FILES /etc/passwd ASCII password file, with passwords removed /etc/pwd.db db(3)-format password database, with passwords re- moved /etc/master.passwd ASCII password file, with passwords intact /etc/spwd.db db(3)-format password database, with passwords in- tact SEE ALSO chpass(1), login(1), passwd(1), getpwent(3), login_getclass(3), yp(4), login.conf(5), adduser(8), pw(8), pwd_mkdb(8), vipw(8) > > Please help if you can 8-) > > Regards > Dave Wilson > www.sai.co.za > > > > > 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