Home › Forums › OS X Server and Client Discussion › Open Directory › User Templates
- This topic has 4 replies, 3 voices, and was last updated 18 years ago by
wezzy80.
-
AuthorPosts
-
March 20, 2008 at 4:45 pm #371948
stud33
ParticipantHi, 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..
March 24, 2008 at 4:15 pm #371979stud33
ParticipantOne 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.
May 14, 2008 at 1:42 pm #372696wezzy80
ParticipantI 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
October 24, 2008 at 12:39 pm #374542trondah
ParticipantBump.
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.
October 24, 2008 at 1:13 pm #374545wezzy80
ParticipantI 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 😉
-
AuthorPosts
- You must be logged in to reply to this topic.