site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=ZDzIdEmIQYAVvbw7eyb+UZVsPUkLFByi2ynkGyxGJcw=; b=Jzs9bYreoTV78FmfI2j2fZxyaMPoHJeL1Z3p691eUw7P6UbXAlbcJf/mxJsz2KBb80 7LUXA/BHKTa6acgwffN6GwuhPvKVS3Dyvy40w0Q8iIQZ7wYdj4tY5p4N62FesmBwMpjH v2rn1ZATSNGhkxKLIItjVG0om/iXpsU9+SCW8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=Fd3ui0R74i37jaC9leBMHtxS5L/MFa8oUHXgDcNQBRJC7SZeTKRJwtxyCKPzse5xKZ D0+uVpQRH5dmvzm8iUT7Rq1FbT8kZF6Nnb3dTNgZwShAomSoW/ANJYKpj1wkU34FLaNQ hgLquSyGCvQFZLxdJ691fZah8y16ieoPdAG1c= Hi, I have to add disclaimer message accept/decline mechanism to login process on Leopard. So far I've found two possible approaches. 1. /Developer/Examples/Security/bannersample Which is pretty cool but I'd rather prefer user to authenticate earlier before he accepts the disclaimer notice. 2. Login hook in loginwindow Which was exactly what I was looking for but I haven't yet managed it to work. - what I like is that app executed in login hook has root privileges. - moreover loginwindow waits for the app to close before it goes with further login process - starts Finder, Dock The only problem is that I have no idea how to refuse login. It looks like that returning error code from app doesn't work (i.e. int main() { return 1;}). Loginwindow ignores it. Sending events like kAEReallyLogOut, kAEShutDown to loginwindow is useless because loginwindow is not responding to them at boot. Am I doing something wrong or there is some other way to force loginwindow to cancel login process. Regards, Mateusz Łapsa-Malawski http://www.linkedin.com/in/lapsamalawski _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Mateusz Łapsa-Malawski