• 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: using bless to change boot device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using bless to change boot device


  • Subject: Re: using bless to change boot device
  • From: Darkshadow <email@hidden>
  • Date: Sat, 20 Aug 2005 17:38:14 -0400


On Aug 20, 2005, at 12:58 PM, Herbert wrote:

That's not actually true. I'm logged into an Admin account, and the lock is closed till I click on it and enter my admin password.

On a further note, I've been playing more with bless and I have found that you do indeed have to be root or use sudo to change the boot device.

However, you don't have to be root to change it using the System Preferences. So what's the difference here? What is System Prefs doing that bless doesn't?


If you lock it during your login session, it'll remain locked until you unlock it. But when you first login with an admin account, it is unlocked by default.


System Preferences uses a helper tool that runs as root (regardless of the user running SP) in the background to change settings. That's what the difference is.


Darkshadow (aka Michael Nickerson)


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: using bless to change boot device (From: Herbert <email@hidden>)

  • Prev by Date: Re: Strange Managed Context Error
  • Next by Date: open docs at quit time
  • Previous by thread: Re: using bless to change boot device
  • Next by thread: Re: using bless to change boot device
  • Index(es):
    • Date
    • Thread