AFP548 Changing the world one server at a time.

djc6

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • djc6
    Participant

    I 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.

    djc6
    Participant

    I 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.

    in reply to: home directory was not found in the usual place #365750
    djc6
    Participant

    I figured it out…

    I was logging in with my ldap account to test it out, and would then log out. Next, I would log in as a local user and delete the profile, thinking I could then log in again with my ldap account to test its automatic creation. Well, apparently OS X is smart enough to know I’d logged in before and would look for my home directory. People who had truely never touched the machine before wouldn’t receive this error the first time they logged in; it would simply create them a home directory. Because I had logged in before, OS X brought up that error since it knew it’d already made me a home directory once before (I guess).

    If I rebooted the machine between deleting my home directory and logging in again, OS X would not present that error. I guess rebooting clears some cache that told the OS it had made a home directory for me in the past. Thanks!!

Viewing 3 posts - 1 through 3 (of 3 total)