[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9118.0. "migrating /etc/passwd from BSDiUNIX to Digital UNIX" by VAOU09::LAM () Tue Mar 11 1997 19:20

    My customer is migrating from BSDi UNIX to Digital UNIX 4.0B. He has
    10,000 users of UID and passwd to move, but copying the /etc/passwd to
    Digital UNIX did not work. The users are not able to log in. We believe
    the password encryption is different on the  two UNIXes. Are there any
    tools we can use to migrate the /etc/passwd file? BSDi does not have
    NIS Server yet, so using NIS is not an option. Thanks for any help.
T.RTitleUserPersonal
Name
DateLines
9118.1try this firstALFAM7::GOSEJACOBWed Mar 12 1997 07:107
    re .0
    Never tried this myself but first thing to check: did you have the
    passwd shaddow files on the Digital UNIX machine (/etc/passwd.pag,
    /etc/passwd.dir)? Then a 'cd /etc; mkpasswd passwd' might be the simple
    solution to your problem.
    
    	Martin
9118.2netrix.lkg.dec.com::thomasThe Code WarriorWed Mar 12 1997 09:4411
The problem is that the BSDI passwd file have a few extra fields that
you need to remove.

root:password:0:0::0:0:Charlie &:/root:/bin/csh
                  ^^^^
	  you need to remove this

Note that you need to copy /etc/master.passwd, not /etc/passwd (since
/etc/passwd doesn't have any passwords).

Note that BSDI 3.0 has NIS support.
9118.3tried it but did not workVAOU09::LAMThu Mar 13 1997 18:564
    Thanks for the reply. We have already tried .1 and .2; nothing works.
    BSDi does not have the NIS server, just the client. So we can't try
    setting up the BSDi as a NISserver to serve the passwd to the alpha
    either. Any help appreciate! thanks