with administrator privileges...
with administrator privileges...
- Subject: with administrator privileges...
- From: Chris Janton <email@hidden>
- Date: Sat, 18 May 2002 11:52:04 -0700
Am I seeing things?
Try this script from an account that has administrator privileges...
do shell script "cat /private/etc/master.passwd" with administrator
privileges
Do not do any "sudo" commands from the shell. Do not be logged in as
"System Administrator"
Make sure you type in an *incorrect* password when prompted.
Do you see the contents of the file in the result window?
If you leave off the "with administrator privileges" the script *should*
fail with a privlege denied
message. It does for me.
If I type in a bogus password I get the contents of the file, even though
I shouldn't.
Is the password checking dialog box just a sham?
8)
----------------------------------
Chris Janton Centos Prime
2202 E Towner St Internet: email@hidden
Tucson, AZ 85719 Phone: +1 520 881-6634
Netminder for Opus1.COM
_______________________________________________
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.