• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: StartupItemContext & Darwin 6.x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: StartupItemContext & Darwin 6.x


  • Subject: Re: StartupItemContext & Darwin 6.x
  • From: Shantonu Sen <email@hidden>
  • Date: Sun, 27 Feb 2005 11:46:44 -0800


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:

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.

Interesting information.

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.

Shantonu

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: StartupItemContext & Darwin 6.x
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: StartupItemContext & Darwin 6.x (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: StartupItemContext & Darwin 6.x
  • Next by Date: Re: StartupItemContext & Darwin 6.x
  • Previous by thread: Re: StartupItemContext & Darwin 6.x
  • Next by thread: Re: StartupItemContext & Darwin 6.x
  • Index(es):
    • Date
    • Thread