From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: James John - jrjame Newsgroups: gmane.os.tru64.managers Subject: Password Import Date: Tue, 17 Sep 2002 13:55:49 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1032288953 30032 127.0.0.1 (17 Sep 2002 18:55:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2002 18:55:53 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17rNVm-0007nx-00 for ; Tue, 17 Sep 2002 20:55:50 +0200 Original-Received: (qmail 20078 invoked by uid 5); 17 Sep 2002 18:55:58 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20069 invoked by uid 49493); 17 Sep 2002 18:55:58 -0000 Original-Received: from John.James@acxiom.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-1.1/5.0):. Processed in 0.370679 secs); 17 Sep 2002 18:55:58 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 17 Sep 2002 18:55:57 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2L00BVYJ96FG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 17 Sep 2002 14:55:57 -0400 (EDT) Original-Received: from aerynsun.acxiom.com (aerynsun.acxiom.com [65.64.17.121]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2L00C2FJ938O@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 17 Sep 2002 14:55:52 -0400 (EDT) Original-Received: from conmsc02.conway.acxiom.com (unverified) by aerynsun.acxiom.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Tue, 17 Sep 2002 13:55:50 -0500 Original-Received: by conmsc02.corp.acxiom.net with Internet Mail Service (5.5.2656.59) id ; Tue, 17 Sep 2002 13:55:49 -0500 Content-return: allowed Original-To: "Tru64 Managers List \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2656.59) Xref: main.gmane.org gmane.os.tru64.managers:1742 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1742 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.