Re: StartupItemContext & Darwin 6.x
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On dimanche, février 27, 2005, at 08:46 PM, Shantonu Sen wrote: On Feb 27, 2005, at 11:27 AM, Stéphane Sudre wrote: On dimanche, février 27, 2005, at 07:38 PM, Shantonu Sen wrote: Interesting information. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... In Darwin 6, you can ssh in to the machine as root and start the daemon. In Darwin 6, ssh connections did not get put into their own bootstrap subset context, and used the context of the master sshd, which was the root bootstrap context. But it would require to know the root password and have ssh running. Using StartupItemContext also requires knowing the root password, or some proxy to obtain root privileges (like sudo). If you have an existing networking service like ssh, telnet, or rsh, running on the Darwin 6 machine, you can connect to localhost as yourself, and then sudo your way to success. Darwin 7 lets you skip the localhost connection, but you probably still need to use sudo or AEWP or a setuid tool or some combination. In my case, I would be in the postflight script of an Installer.app package requiring root authentication, so no problem, no root password. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre