• 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: Q: 10.4.2 "Do Shell Script" revision & passwords
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: 10.4.2 "Do Shell Script" revision & passwords


  • Subject: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • From: Emmanuel <email@hidden>
  • Date: Wed, 13 Jul 2005 20:19:55 +0200

At 11:47 AM -0500 7/13/05, Laine Lee wrote:
I certainly believe it is time for Standard additions to give us a secure text field, though.

set adminpass to text returned of (display dialog "Enter your admin password. It will be visible in the text field." default answer "" default button 2)

do shell script "sudo bless -folder9 \"/Volumes/Hard Disk/System Folder\"" password adminpass with administrator privileges

I don't say I'm a specialist, but here is what I do, instead of your lines above (the other lines would be unchanged.) This gives a standard password entry field with the large dots.


do shell script "sudo -s ; sudo bless -folder9 \"/Volumes/Hard Disk/System Folder\"" with administrator privileges

Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Q: 10.4.2 "Do Shell Script" revision & passwords (From: Laine Lee <email@hidden>)

  • Prev by Date: Re: Mail.app 10.4.2 and scripting signatures
  • Next by Date: Re: Q: 10.4.2 "Do Shell Script" revision & passwords (Laine Lee)
  • Previous by thread: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • Next by thread: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • Index(es):
    • Date
    • Thread