Re: Q: 10.4.2 "Do Shell Script" revision & passwords
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