Password Import

From: James John - jrjame (John.James@acxiom.com)
Date: Tue Sep 17 2002 - 14:55:49 EDT


Good afternoon all. I am working on migrating users and data from one box
to another. I have gotten a little help from some programmers internally,
but am having a problem getting an awk script to run. I am including the
script and the error message. What I am trying to do here is effectively
import the passwd file from one server to another. I need to do this to
retain the file ownership of about 2 TB of data. I don't want to have to do
this manually and it needs to be seamless. Anything you can add or suggest
would be greatly appreciated.

awk -F: '{system("echo \"Welcome\nWelcome\" |useradd -m -s /bin/ksh -u "$3"
-g "$4" -d /home/"$1" -p -c \""$5"\" -x adminstrative_lock_applied=0 "1")}'
/home/jrjame/passwd

awk: The string or regular expression
        )} cannot contain more than 2047 bytes.
 The source line is 1.
 The error context is
>>> <<<
 syntax error The source line is 1.
 awk: The statement cannot be correctly parsed.
 The source line is 1.
        awk: There is a missing } character.
        awk: There is a missing ) character.

Thanks again!!

John R. James, Jr.
Unix Engineer
FSG V IADTU
Acxiom, Corporation
501-342-0455
john.james@acxiom.com

*********************************************************************

The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:53 EDT