• 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: do shell script and passwords
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script and passwords


  • Subject: Re: do shell script and passwords
  • From: Alex Robinson <email@hidden>
  • Date: Mon, 10 Jun 2002 14:07:59 +0100

>do shell script "/usr/sbin/rawrequest"
>
>works too. what is going on... could someone actually try this out.. they
>can get the rawrequest PKG installer that comes with WhatRoute 1.8 rather
>than speculate... because I am doing everything suggested and guess what..
>no go!


Well I just installed the package.

-rwxr-xr-x 1 root wheel 72848 Dec 27 06:28 rawrequest

ie. you don't need sudo - any user can run it.


And your line should read
>>>>
do shell script "/usr/sbin/rawrequest" password AdminPass with
administrator privileges
<<<<

As it stands
>>>>
do shell script "/usr/sbin/rawrequest" administrator privileges yes
password AdminPass
<<<<

the admin privileges and password part compile but don't appear to have any
effect.

So, there doesn't seem to be any problem after all.
_______________________________________________
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.

  • Follow-Ups:
    • Re: do shell script and passwords
      • From: John W Baxter <email@hidden>
    • Re: do shell script and passwords
      • From: garrett <email@hidden>
References: 
 >Re: do shell script and passwords (From: garrett <email@hidden>)

  • Prev by Date: Re: do shell script and passwords
  • Next by Date: still growing
  • Previous by thread: Re: do shell script and passwords
  • Next by thread: Re: do shell script and passwords
  • Index(es):
    • Date
    • Thread