3 Replies Latest reply: Jan 27, 2013 9:52 PM by TeenTitan
Jeff Curto Level 1 Level 1 (0 points)

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!

  • TeenTitan Level 4 Level 4 (2,410 points)

    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

  • Jeff Curto Level 1 Level 1 (0 points)

    Thanks! Perfect!

  • TeenTitan Level 4 Level 4 (2,410 points)

    BTW have you cosnidered a directory service? Such services can let you create accounts in one spot, and share the accounts to many computers