• 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: reboot into OS 9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reboot into OS 9


  • Subject: Re: reboot into OS 9
  • From: "John C. Welch" <email@hidden>
  • Date: Thu, 13 Mar 2003 07:22:08 -0500

On 03/13/2003 01:45, "David Glass" <email@hidden> wrote:

>> do shell script "/usr/sbin/bless -folder9 '/Volumes/Macintosh
>> HD/System Folder' -setOF" password mypassword with administrator
>> privileges
>
> I believe you need to "sudo" this even though you've specified with
> privileges.
>
> do shell script "sudo /user/sbin/bless ...."

Nope, no sudo needed normally. The problem is that not all users are able to
use sudo. If you aren't an admin, then sudo, regardless of form will fail.
This of course, is *a very good thing*.

So, you'd have to use a shell script that su's to an admin user, "su -l
<adminusername>, however, then you have to deal with giving it a password as
well, and I have no idea how to do that.

john

--
"There is no 'I' in TEAM."
US Navy SEALs
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: reboot into OS 9 (From: David Glass <email@hidden>)

  • Prev by Date: Re: scripting mail to select mailboxes
  • Next by Date: Illustrator Newbie question 2
  • Previous by thread: Re: reboot into OS 9
  • Next by thread: Re: reboot into OS 9
  • Index(es):
    • Date
    • Thread