Forum Replies Created
-
AuthorPosts
-
jlevitsk
ParticipantYou very well may have. I’m simply terrible at reading release notes. 🙂 probably would save me some time. Hopefully the post will save other non-readers like me. 🙂
March 16, 2008 at 12:38 pm in reply to: mis-linked frameworks result when including iLifeSupport.mpkg in build #371897jlevitsk
ParticipantSpecifically it should look like this after the fix… I looked and it seems to make the link right now…
# ImageKit
my $ImageKitLink = $GAS_Framework . “ImageKit.framework”;
my $ImageKitTarget = “/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework”;
repairLink($ImageKitLink, $ImageKitTarget);# QuartzComposer
my $QuartzComposerLink = $GAS_Framework . “QuartzComposer.framework”;
my $QuartzComposerTarget = “/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework”;
repairLink($QuartzComposerLink, $QuartzComposerTarget);March 15, 2008 at 10:05 pm in reply to: mis-linked frameworks result when including iLifeSupport.mpkg in build #371896jlevitsk
ParticipantTake a look in the postflight_actions folder at the one script in there. I think I see the problem. See they repair the symlink but for the Target they include $TargetDisk which I don’t think is right. Right? If you do the SymLink with the $ImageKitTarget and $QuartzComposerTarget set without a $TargetDisk I think then the link destination would not include the disk name so it would properly resolve when you run this patch. I haven’t tried it yet but I think that’s the problem.
# ImageKit
my $ImageKitLink = $GAS_Framework . “ImageKit.framework”;
my $ImageKitTarget = $TargetDisk . “/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework”;
repairLink($ImageKitLink, $ImageKitTarget);# QuartzComposer
my $QuartzComposerLink = $GAS_Framework . “QuartzComposer.framework”;
my $QuartzComposerTarget = $TargetDisk . “/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework”;
repairLink($QuartzComposerLink, $QuartzComposerTarget);March 14, 2008 at 7:21 pm in reply to: mis-linked frameworks result when including iLifeSupport.mpkg in build #371889jlevitsk
ParticipantI hit this too. Someone reported to Apple? This seems like a flaw in the PKG…
jlevitsk
ParticipantWouldn’t this work to set a password from a hash?
#!/bin/bash
#Make the account
exampleadmin/usr/bin/dscl . -create Users/exampleadmin
/usr/bin/dscl . -create Users/exampleadmin home /Users/exampleadmin
/usr/bin/dscl . -create Users/exampleadmin shell /bin/bash
/usr/bin/dscl . -create Users/exampleadmin uid 501
/usr/bin/dscl . -create Users/exampleadmin gid 501
/usr/bin/dscl . -create Users/exampleadmin realname “exampleadmin”
/usr/bin/dscl . -create Groups/exampleadmin
/usr/bin/dscl . -create Groups/exampleadmin gid 501
# doesn’t matter what we make it since we kill it anyways…
/usr/bin/dscl . -passwd Users/exampleadmin “FunkyChicken”
/usr/bin/dscl . -append Groups/admin GroupMembership exampleadmin# find the GeneratedUID of the user and remove the password hash file
# from /private/var/db/shadow/hash/
# sudo ls -a /private/var/db/shadow/hash
# sudo ls -l /private/var/db/shadow/hash/guid=”$(/usr/bin/dscl . -read “/Users/exampleadmin” GeneratedUID | /usr/bin/awk ‘{print $NF;}’)”
/bin/rm -f /private/var/db/shadow/hash/$guid
echo ‘000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000205465095A12BDF8A6B23F016C94A37F12H9D4CD5162C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000’ > /private/var/db/shadow/hash/$guid
/usr/bin/chown root:wheel /private/var/db/shadow/hash/$guid
/bin/chmod 600 /private/var/db/shadow/hash/$guid/usr/bin/srm -r /Library/StartupItems/instauser
exit 0 -
AuthorPosts
Recent Comments