convert passwd

From: Said El Mamouni (Said.Elmamouni@math.univ-nantes.fr)
Date: Wed Jul 28 2004 - 06:03:11 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:05 EDT