Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: CreateUser password not working #376831
    Jaimegago
    Participant

    Hmm,
    Your issue/fix is linked to the generation of the password_hash file while ggeilman has *also* problem even whe he provides the password in plain text inside USERDATA so there is more to it.

    Jaimegago
    Participant

    What about
    defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array short_name_of_user_to_hide

    Is that what you are looking for?

    in reply to: Createuser pkg — what am I doing wrong?? #376813
    Jaimegago
    Participant

    And if you want to know what was wrong in your script, you need to use $3 as your mount point of your destination volume not / which is the booted volume. So your script should have look like this
    dscl . -create $3/Users/infores
    dscl . -create $3/Users/infores home $3/Users/infores

    When you install a script via a package the target voilume of your package is passed by the installer to your script as $3.

    Much more info here http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html

    Give a man a fish…

    in reply to: CreateUser password not working #376812
    Jaimegago
    Participant

    When trying the highly *not recommanded by the author* method of putting the password in plain text I think you need to remove the password_hash file from the package, did you try that? As far as for the *author recommanded method” did you follow the instructions in the README file step by step? It worked for me (and others) perfectly so I am afraid my thoughts are going to some human error and hopefully for you I am right 😉

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