AFP548 Changing the world one server at a time.

User Templates

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #371948
    stud33
    Participant

    Hi, Is there a way to create different “User Templates” and assign them by groups when the account is created? What I have are 3 groups staff,teacher,student. I would like it when the account is created and the user logins for the first time it would create the Template for the group they are assigned to. If anyone has done this or has any knowledge of how to do this I would greatly appreciate it.

    Thank You..

    #371979
    stud33
    Participant

    One other question. Is there a way to assign login scripts to groups through WGM. I select the group and and goto Login in Preferences and it says “these settings cannot be managed to groups”. Any help appreciated.

    #372696
    wezzy80
    Participant

    I am wanting to do a similar thing, I have tried the /System/Library/User\ Template/English.lproj method, but this appears to just affect the local accounts on the server machine.

    Does anyone know where the User Template folder for Open Directory is kept? (or if such a place exists)

    I’d have expected custome home folder templates to be a standard feature on OD…./shrug

    #374542
    trondah
    Participant

    Bump.

    It seems the user template is created from the default template (i.e. /System/Library/User\ Template/English.lproj) on the server specified to host home directories.

    Any way to change which is default though, and perhaps on a user/group basis? Would be very helpful in places where you have people from different countries.

    #374545
    wezzy80
    Participant

    I have kinda of done a workround, it’s a bit messy though.

    1) I create a generic user profile, then login and change any prefs etc then log out of this account. (make sure you delete any keychain items if there are any)

    2) Then you create a new user(s) profile.

    3) Then copy the contents of the generic user set up earlier to the new users folder use the -R option.

    4) Then use ‘sudo chown -R [shortusername]:[group] /users/new user’ to change ownership of the user folder to the specified user.

    Like I say, its a bit messy, but seems to do the trick. Been looking at Automator maybe to try and streamline this method.

    Also I have made a seperate folder for the network users, this stops ‘joe user’ from logging onto your server locally 😉

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.