Home › Forums › OS X Server and Client Discussion › Misc. › Problem with mac os 10.4.4 client and NFS located home folder on linux server
- This topic has 3 replies, 2 voices, and was last updated 20 years, 7 months ago by
djc6.
-
AuthorPosts
-
February 20, 2006 at 10:11 am #365376
jeff54
ParticipantHi,
I have a big problem with the creation of users home directory.
The users are already created on a Linux server and the informations are shared by NIS ( Network Information Service ). I have configured Imac G5 1,9 Ghz with mac os 10.4.4 to access NIS information and to automount the network home directories but there is A BIG PROBLEM and I would to ask you if you are an idea…
Tiger does not use the “User Template” to create “mac os x” home directory.
Tiger does not create the default files (Desktop, Documents, Library, etc.), for example when mounting a network home-directory via NIS, it create only the “Desktop” and “Library” folders but not Documents, Music,Images…and so on.
I have put some files on the desktop folder of the “User template” ( in /Sytem/Library/User Template/ ) in all languages because I have thanked that It is a problem of localization but Tiger doesn’t create the “mac os x” default home directory.
Apparently, with NFS located home directory and Linux server, Tiger creates only “Desktop” and “Library” directories but it uses a special “User Template” but where it is ???
Can you help me, Please.
Excuse me for my “english” writing because I am french.
Best Regards. 😀 😀
February 21, 2006 at 10:13 am #365393jeff54
ParticipantHi,
I use netinfo to “automount” the nfs home with -s -P and -b option in /home folder like the nfs exports of the linux server. ( or you can use a shareware like NFS MANAGER of Marcel Bresink :
http://www.bresink.de/osx/NFSManager.html)The home directory path is :
/home/etud for students
and /home/prof for professors ( like the directories exported by NFS from the linux server )
Because the home arre NFS network homes form a linux server, mac os X don’t use the “classicals” User Template folder but another template but where ? I don’t know…
Best Regards
March 23, 2006 at 4:00 am #365770djc6
ParticipantI am experiencing the same thing. I noticed the User Template is only applied when I am creating a local user whose home directory is on the local disk in /Users
When I have a user log in whose home directory is set to be on the NFS mounted share, the “User Template” is not used.
See this article:
http://docs.info.apple.com/article.html?artnum=107256
Which says that users with NFS home directories have to be created before they log in, with the “createhomedir” command – which I imaging copies the “User Template” folder over.
March 23, 2006 at 6:11 am #365774djc6
ParticipantI think what I’m going to do is use this program:
http://www.bombich.com/software/lwm.html
To run a shell script each time the user logs on. If it detects that this is the first time a user has logged in, I’ll copy the template over as their home directory.
-
AuthorPosts
- You must be logged in to reply to this topic.