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>

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

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


Hello Stephen,

I was in a similar situation a while back and someone gave me this procedure:

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

awk < passwd.linux > /etc/master.passwd 'BEGIN { FS = ":"} { 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 manually.

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
--
                                              ~\\_                 
 Odhiambo Washington                            \\\\               
 Wananchi Online Ltd.,                          `\\\\\             
 1st Flr Loita Hse, Loita Street                 |\\\\\            
 PO Box 10286,00100-NAIROBI,KE.                   \\\\\|__.--~~\   
 Fax: 254 2 313985-9                           _--~            /   
 Fax: 254 2 313922                           /~ //////  _-~~~~'    
 E-mail: wash@wananchi.com                  ('-//////-//           
 URL	: http://www.wananchi.com            //////(((-)           
 GSM: 254 72 743 223 / 254 733 744 121     /////"                  
                                        _///"                      

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

[-- Attachment #2 --]
-----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-----
help

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