Try the following as a postflight in a payload-free pkg in your CustomPKGs:[code]sudo “$3″/usr/bin/dscl -f “$3″/var/db/dslocal/nodes/Default localonly -passwd /Local/Target/Users/ ”[/code]I tried a slightly easier version of this:[code]sudo /usr/bin/dscl . -passwd /Users/ ”[/code]and it gave me a one-click login (if the Login Window shows a list of users), which I’m guessing may be one of your goals.
Note that I haven’t tried the first command, it’s just a collection of pieces of how to address dslocal via dscl on a non-startup disk. I [i]think[/i] it’s syntactically correct, but I could be wrong and I don’t have the time to test it right now.
– Patrick
Comments are closed