tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Said El Mamouni <Said.Elmamouni@math.univ-nantes.fr>
Subject: convert passwd
Date: Wed, 28 Jul 2004 12:03:11 +0200	[thread overview]
Message-ID: <5.0.2.1.2.20040728114802.035f36b8@lebesgue.math.sciences.univ-nantes.fr> (raw)

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



             reply	other threads:[~2004-07-28 10:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28 10:03 Said El Mamouni [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-17  9:36 convert passwd Said El Mamouni
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox