Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run scripts on login and logoff on OS X

Status
Not open for further replies.
Joined
Dec 16, 2002
Messages
101
Location
GB
Hi
Could anyone tell me how to run a script on user login and logoff on OS X.
I'd also really appreciate a way of forcibly logging a user off using a script.
Thanks in advance
Chris
 
System preferneces-->Log in items. Add your script there and it will execute on login, as will anything else you want automatically started up when you log in. As far as forcibly logging a user off, I'm not sure.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top