Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Transfer users from Panther to Tiger

Transfer users from Panther to Tiger
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2003
Location: Rock Hill, SC
Status: Offline
Reply With Quote
Apr 30, 2005, 09:48 PM
 
I have upgraded my machine to Tiger, after backing up my Panther installation onto an external drive. I have a few users on the machine, and have been providing email and web hosting for them as a favor, and now I need to get them onto Tiger.

Is there any way to export/import the users and their passwords to the Tiger Netinfo database? I don't know their passwords, and it really would be a pain to get them set up again...

Thanks for any help!

-Steven
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
May 1, 2005, 09:08 AM
 
I don't know enough about NetInfo. I would just create new accounts for them and copy their stuff over. Then give them the new passwords you created and let them change them.

Chris
     
Ashari  (op)
Fresh-Faced Recruit
Join Date: Nov 2003
Location: Rock Hill, SC
Status: Offline
Reply With Quote
May 1, 2005, 09:45 AM
 
Originally Posted by chabig
I don't know enough about NetInfo. I would just create new accounts for them and copy their stuff over. Then give them the new passwords you created and let them change them.

Chris
That was going to be "Plan B", but instead, I hit Google (for the 4th time) and actually found what I was looking for at this URL.

After looking at that script, I found that in Panther, I could do the following:
nicl . -read users/"username" generateduid

and the shadow password is stored in /private/var/db/shadow/hash/"generateduid". So basically, I just needed to create the user on Tiger, and take the output of:

cat /private/var/db/shadow/hash/"generateduid"

and put it in the user's shadow hash file on Tiger (using the same "nicl" command that I used in Panther to get the generateduid of the newly created user on Tiger).

Works like a charm.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:28 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2