Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I duplicate a user?

I have a small lab of Macs running Snow Leopard.


There is an existing user on each machine (Student) and I want to create a duplicate of that user (Student 2) on each machine using ARD.


I can see how to add a new user, but I'd like to duplicate the existing user with all the "bits and pieces" (dock icons, permissions, files, etc) of that user on each machine.


I can't find any way to do that with ARD... or at least I can't find any place that this operation is documented.


Any help would be most appreciated.


Thanks!

Posted on Jan 10, 2013 6:49 AM

Reply
Question marked as Best reply

Posted on Jan 12, 2013 12:23 PM

Ones you create the user you can copy the account from one user to another user


ie:

send unix command as root

ditto /Users/Student1 /Users/Student2


if you wanted to create the account and copy it, then you can do some thing like:


dscl / -create /Users/Student2 <--- must not conflict with another user

dscl / -create /Users/Student2 UserShell /bin/bash

dscl / -create /Users/Student2 RealName "Student2"

dscl / -create /Users/Student2 UniqueID "1015" <--- must not conflict with another user

dscl / -create /Users/Student2 PrimaryGroupID 80

dscl / -create /Users/Student2 NFSHomeDirectory /Users/Student2

dscl / -passwd /Users/Student2 SamePasswordAsStudent1

ditto /Users/Student1 /Users/Student2

3 replies
Question marked as Best reply

Jan 12, 2013 12:23 PM in response to Jeff Curto

Ones you create the user you can copy the account from one user to another user


ie:

send unix command as root

ditto /Users/Student1 /Users/Student2


if you wanted to create the account and copy it, then you can do some thing like:


dscl / -create /Users/Student2 <--- must not conflict with another user

dscl / -create /Users/Student2 UserShell /bin/bash

dscl / -create /Users/Student2 RealName "Student2"

dscl / -create /Users/Student2 UniqueID "1015" <--- must not conflict with another user

dscl / -create /Users/Student2 PrimaryGroupID 80

dscl / -create /Users/Student2 NFSHomeDirectory /Users/Student2

dscl / -passwd /Users/Student2 SamePasswordAsStudent1

ditto /Users/Student1 /Users/Student2

How can I duplicate a user?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.