Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 12:04:50 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        curl@tcc-comp.com.au
Cc:        FBSD-ISP <freebsd-isp@freebsd.org>
Subject:   Re: combining passwd files
Message-ID:  <20011122120450.C89040@ns2.wananchi.com>
In-Reply-To: <200111220857.TAA31898@james.coopcom.com.au>
References:  <200111220857.TAA31898@james.coopcom.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--E/DnYTRukya0zdZ1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* curl@tcc-comp.com.au <curl@tcc-comp.com.au> [20011122 10:41]: writing on =
the subject 'combining passwd files'
|=20
| Hello.
|=20
| I need to combine the passwd files from a FreeBSD 2.2.6 system, and a Red=
Hat
| Linux 6.1 system into the current passwd file on a new FreeBSD 4.4 system
| that i'm building.
|=20
| What's the best way to goabout this?


Hello Stephen,

I was in a similar situation a while back and someone gave me this procedur=
e:

##
run pwunconv on the Linux end, copy it over to freebsd, run

awk < passwd.linux > /etc/master.passwd 'BEGIN { FS =3D ":"} { print $1 ":"=
 $2
":" $3 ":" $4 "::0:0:" $5 ":" $6 ":" $7 }'

run pwd_mkdb, and you should be set.
##

I did not quite use it because some guys had done most of the stuff manuall=
y.

Lemme know if that helps.



-Wash

S y s t e m s   A d m i n i s t r a t o r
--
                                              ~\\_                =20
 Odhiambo Washington                            \\\\              =20
 Wananchi Online Ltd.,                          `\\\\\            =20
 1st Flr Loita Hse, Loita Street                 |\\\\\           =20
 PO Box 10286,00100-NAIROBI,KE.                   \\\\\|__.--~~\  =20
 Fax: 254 2 313985-9                           _--~            /  =20
 Fax: 254 2 313922                           /~ //////  _-~~~~'   =20
 E-mail: wash@wananchi.com                  ('-//////-//          =20
 URL	: http://www.wananchi.com            //////(((-)          =20
 GSM: 254 72 743 223 / 254 733 744 121     /////"                 =20
                                        _///"                     =20

+++
Pohl's law:
	Nothing is so good that somebody, somewhere, will not hate it.

--E/DnYTRukya0zdZ1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7/L+yn7LIsuxjem8RAjJVAJ9StyNO6/nHP5BsWpG+Un5oMe+aRQCgnsv0
ICa7vIcYbIbp0/M9bUflBfE=
=Q4FJ
-----END PGP SIGNATURE-----

--E/DnYTRukya0zdZ1--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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