• 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
Sudo with do shell script with password?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sudo with do shell script with password?


  • Subject: Sudo with do shell script with password?
  • From: Jason Bourque <email@hidden>
  • Date: Mon, 22 Apr 2002 13:50:35 -0400

Hello,


I am doing a Sudo command within a do shell script.

do shell script " mount_smbfs -W myworkgroup //username@netbiosname/share
./myshare"


And I get an error "Password:"

How do I get the password in there?


Thanks,

Jason Bourque
Co-Director Boston AppleScript Users Group
_______________________________________________
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: Sudo with do shell script with password?
      • From: garbanzito <email@hidden>
References: 
 >Fwd: Google and iTunes (From: Martin Michel <email@hidden>)

  • Prev by Date: Fwd: Google and iTunes
  • Next by Date: RE: Fetch Examples
  • Previous by thread: Fwd: Google and iTunes
  • Next by thread: Re: Sudo with do shell script with password?
  • Index(es):
    • Date
    • Thread