Checking an admin password on os x
Checking an admin password on os x
- Subject: Checking an admin password on os x
- From: garrett <email@hidden>
- Date: Sat, 18 May 2002 05:18:22 -0500
On OS X u can send a script command to the system
do shell script "something"
set y to result
What I need to figure out is I have another script that I made that sends a
sudo command, however, I ask the user to type in a password first. I would
like to be able to somehow use the do shell script command and send his
password just to see if they typed in the write password. Take the result
and if the result is bad then tell them to try again. So my question is
this: what command could I invoke in the unix system to test the password?
-------
garrett
_______________________________________________
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.