On last.fm: Coldplay - Listen now!
CNET Networks Business:
BNET
TechRepublic
ZDNet

FREE Registration is required

Overview:

Privileged Exec is an AppleScript framework that makes it extremely easy to create applications that run Unix commands as root, without prompting the user for an administrator password every time. This is accomplished by securely storing an administrator password in the default keychain. This password can then be used to run any Unix commands as root with no user interaction. By putting your code in the handler "theCommands()" you quickly create an application that can run any Unix tasks you want with no user interaction after initial setup. The first time your application is run, it will ask the user for an administrator password. This password will then be stored in the system Keychain and on subsequent runs, your application will retrieve the password from the keychain and use the password to execute any commands that you want to run with administrator privileges. All of the password management is provided in the Privileged Exec framework. The Privileged Exec framework can also locate a specific application or file if needed for your command.

(Is this item miscategorized? Does it need more tags? Let us know.)

Format:SoftwareSize:110 KB
Date:Apr 2004Version:1.0.1
License:Free
Platform:Mac
System Req:Mac OS X 10.2 or 10.3Script Editor, Smile, or any other AppleScript script editoroptional: 'System.osax' scripting addition http://osaxen.com/system.html

People who downloaded this item also downloaded

Download Worms 3D update 1.0.1 (Mac)
advertisement

White Papers, Webcasts, and Resources

advertisement
Click Here

Returning users: Log In Here!

Already registered on BNET, TechRepublic, or ZDNet? Simply log in.

Free Membership: Sign Up Now!

Sign up for a free membership today and get instant and unlimited access to one of the largest databases of white papers, webcasts, and casestudies anywhere. Your FREE membership allows you to:

  • Download an unlimited amount of content, including classic and current white papers, case studies, webcasts and more
  • Track content on your chosen topics of interest
  • Receive targeted email alerts when your favorite content is added
  • Save content for future reading
  • Receive our member newsletter

When you register to access this library, you allow us to share your information with companies that produce products or services featured in the library--so that such companies may contact you with information and offers regarding their products and services. This enables us to keep the library a free service. As a library registrant, you will receive a complimentary subscription to the ZDNet white paper newsletter and e-mail Must-Read News Alerts. You can unsubscribe from these at any time. By clicking the Sign up button, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy (updated).