convert passwd

From: Said El Mamouni (Said.Elmamouni_at_math.univ-nantes.fr)
Date: 07/28/04

  • Next message: pcoelho3_at_ibest.com.br: "Real meaning of IO % Busy in collect's output"
    Date: Wed, 28 Jul 2004 12:03:11 +0200
    To: tru64-unix-managers@ornl.gov
    
    

    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


  • Next message: pcoelho3_at_ibest.com.br: "Real meaning of IO % Busy in collect's output"

    Relevant Pages