• 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
Checking an admin password on os x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Using 'echo' from 'do shell script'
  • Next by Date: Re: Broken finder script in os X (again)
  • Previous by thread: [OS X] Toolbar scripts
  • Next by thread: URL encode trouble
  • Index(es):
    • Date
    • Thread