I am trying to create a new UNIX password file for use with a system
running BSD/OS by merging the two password files on an existing linux
Basically, I'd like to create a new file called "master.passwd" where
fields number 1,3,4,5,6 and 7 are taken from the linux "/etc/passwd"
file and field number 2 is taken from the linux "/etc/shadow" file.
I've been trying (without success) to use awk to build the new
password file, but I am having trouble understanding how to insert a
field from a second file.
The question is what strategy to use with awk so that I can take
certain fields from one file, and merge them with fields from another
file into a third new file.
I'd appreciate any insight into this problem.