Re: reboot into OS 9
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.