From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Said El Mamouni Newsgroups: gmane.os.tru64.managers Subject: convert passwd Date: Wed, 28 Jul 2004 12:03:11 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.0.2.1.2.20040728114802.035f36b8@lebesgue.math.sciences.univ-nantes.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091009105 6837 80.91.224.253 (28 Jul 2004 10:05:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2004 10:05:05 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jul 28 12:04:56 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BplIt-00059J-00 for ; Wed, 28 Jul 2004 12:04:56 +0200 Original-Received: (qmail 7557 invoked by uid 5); 28 Jul 2004 10:04:45 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 7542 invoked by uid 49501); 28 Jul 2004 10:04:44 -0000 Original-Received: from Said.Elmamouni@math.univ-nantes.fr by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.110):SA:0(-4.9/5.0):. Processed in 0.46996 secs); 28 Jul 2004 10:04:44 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 28 Jul 2004 10:04:44 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I1K0081Z3ZVN7@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 28 Jul 2004 06:04:43 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0I1K001023ZLT2@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 28 Jul 2004 06:04:35 -0400 (EDT) Original-Received: from lebesgue.math.univ-nantes.fr (lebesgue.math.sciences.univ-nantes.fr [193.52.98.8]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I1K00JC53ZK03@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 28 Jul 2004 06:04:33 -0400 (EDT) Original-Received: from kador.math.sciences.univ-nantes.fr (sylematic.math.sciences.univ-nantes.fr [193.52.98.139]) by lebesgue.math.univ-nantes.fr (8.9.3/jtpda-5.3.3) with ESMTP id MAA23653 for ; Wed, 28 Jul 2004 12:04:22 +0200 (MET DST) X-Sender: mamouni@lebesgue.math.sciences.univ-nantes.fr Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Xref: main.gmane.org gmane.os.tru64.managers:7365 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7365 dear I want to use my /etc/passwd file on another system (redhat). To do this i try to add it on the redhat system but it doesnt work. on the redhat : #someone told me that i have to erase my crypt passwd so i do this : awk -F ':' '{print $1 '::' $2 ':' ......$7}' /tmp/passwd.tru64 > /tmp/passwd.new #then cp /etc/passwd /etc/passwd.ori cp /etc/shadow /etc/shadow.ori cat /etc/passwd /tmp/passwd.new > /etc/passwd pwconv the result is that i can logon whitout password my shadow is correct but without password i think i have to convert (hash) my tru 64 passwd and not use awk to erase it. Can you help me ? my tru64 is a 4.0F S.El Mamouni