Home Forums Software InstaDMG createUser NOTICE

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #376957
    akinspe
    Participant

    Just a note,

    I will be uploading an updated version of createUser as soon as I test it against a final (shipping) build of Snow Leopard. This new version will be compatible with 10.4 through 10.6. Happy Imaging!

    #376965
    hetjan
    Participant

    I can’t wait. createUser doesn’t currently work on my 10.5.8 buildtrain

    #376974
    akinspe
    Participant

    [QUOTE][u]Quote by: hetjan[/u][p]I can’t wait. createUser doesn’t currently work on my 10.5.8 buildtrain[/p][/QUOTE]

    This update will not fix that since there are no substantive changes to the code that actually creates the user. Only relaxing the checks to function under 10.6. The problems you are having are likely because of a bad USERDATA file or perhaps something with your InstaDMG setup. Are you using the latest version of instaDMG? I know that some of the chroot stuff that was done required some changes so it would work properly. It was not createUser, but instaDMG that needed to be updated.

    #376976
    hetjan
    Participant

    I’m using r211 from svn.

    I’ve tried creating a DMG to hold the pkg, which worked around the chroot issues I had with other packages, but I have had no luck. I’ve tried installing it via ARD and installing it locally with no luck.

    When I install locally I get this in the system log:
    Aug 26 17:14:10 tests-macbook com.apple.launchd[1] (com.apple.installdb.system): Throttling respawn: Will start in 1 seconds

    I don’t know what to make of it. Any ideas?

    #376989
    hetjan
    Participant

    I should have known…

    The user is created OK, but there is no homedir until after first login.

    #377007
    Chris George
    Participant

    [QUOTE][u]Quote by: hetjan[/u][p]I should have known…

    The user is created OK, but there is no homedir until after first login.[/p][/QUOTE]

    That’s as designed.

    #377008
    hetjan
    Participant

    Is there no way to create the homedir w/o logging in? Something like WGMs Create Home Now button …

    #377016
    knowmad
    Participant

    If you partially create the home directory, ie create the Documents folder to put something in it, the rest of it will NOT be created on first login.
    So, either properly build it (PITA) or add your additions to the defualt user template and let it build naturally…. just be careful what you add.

    #377026
    Anthony Reimer
    Participant

    [QUOTE][u]Quote by: knowmad[/u][p][i]If you partially create the home directory, ie create the Documents folder to put something in it, the rest of it will NOT be created on first login.[/i][/p][/QUOTE]

    So simply put! That seems to explain every problem I’ve had with createUser. In my case, that probably means working on a first run script or package that adds those files after the account is created.

    #377085
    knowmad
    Participant

    Jazz,
    Yes, post install first run scripts are useful… unless your adding those files to EVERY user you create. In which case you might consider putting them into the default user setup (aka user template) so that you dont have to run later scripts or leave password coded into scripts on the system.

    #377151
    mlinde
    Participant

    Is there a way to setup default loginitems for the user created with createuser? I don’t want it for all users, I know I can use LocalMCX to manage login items, but I want something AT FIRST LOGIN for the created admin account – not later. Ideas?

    Never mind – I used instaDMG to copy a loginitems.plist to the /Library/Preferences, then removed said file as soon as it ran.
    Worked as I wanted, although not pretty.

    #377152
    knowmad
    Participant

    how about making this its own topic?

    #377270
    dead2sin
    Participant

    Should createUser be working with Snow Leopard now? I just did a 10.6 build and it didn’t make the user account at all =(

    Thanks,

    Nate

    #377280
    dead2sin
    Participant

    I talked to Akinspe and he said it works with 10.6. My issue was most likely due to the USERDATA file (I reused the USERDATA file from the previous version). I’ll post here if that fixes it for me.

    #377432
    knowmad
    Participant

    My turn to complain.
    I cannot get the thing to work. I tried a brand new download of everything (latest build), I made a new userdata file, I tried the old one, I tried with password hash file, with plaintext password, hidden, admin, visible, non-admin, specific uid, auto uid, etc…
    Nothing,
    here, in case it helps, is the error from the logs when I tried it on my machine without running instadmg to see what I would get:
    [code]11/2/09 3:01:37 PM Installer[52487] ================================================================================
    11/2/09 3:01:37 PM Installer[52487] User picked Standard Install
    11/2/09 3:01:37 PM Installer[52487] Choices selected for installation:
    11/2/09 3:01:37 PM Installer[52487] Upgrade: “createUser”
    11/2/09 3:01:37 PM Installer[52487] ================================================================================
    11/2/09 3:01:37 PM Installer[52487] Configuring volume “Boot”
    11/2/09 3:01:37 PM Installer[52487] Free space on “Boot”: 279.66 GB (279662686208 bytes).
    11/2/09 3:01:37 PM Installer[52487] Create temporary directory “/var/folders/f4/f4vtOP5NF74nUrS4GjrJ7k+++TI/-Tmp-//Install.52487iX6fTV”
    11/2/09 3:01:37 PM Installer[52487] IFPKInstallElement (1 packages)
    11/2/09 3:01:38 PM installd[52518] PackageKit: —– Begin install —–
    11/2/09 3:01:39 PM installd[52518] PackageKit: Install Failed: PKG: post-flight scripts for “edu.uc.daap.createuser.pkg”
    Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x103174720 “An error occurred while running scripts from the package “createUser.pkg”.” {
    NSFilePath = “./postflight”;
    NSLocalizedDescription = “An error occurred while running scripts from the package \U201ccreateUser.pkg\U201d.”;
    NSURL = “file://localhost/Users/administrator/Desktop/createUser.pkg”;
    PKInstallPackageIdentifier = “edu.uc.daap.createuser.pkg”;
    }
    11/2/09 3:01:40 PM Installer[52487] Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    11/2/09 3:01:40 PM Installer[52487] IFDInstallController 17B0BE80 state = 7
    11/2/09 3:01:40 PM Installer[52487] Displaying ‘Install Failed’ UI.
    11/2/09 3:01:40 PM Installer[52487] ‘Install Failed’ UI displayed message:’The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.’.
    11/2/09 3:01:40 PM Installer[52487] The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.[/code]

    suggestions…..

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

Comments are closed