Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Kill another user logged in under Fast User Switching' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Kill another user logged in under Fast User Switching
Authored by: Clint MacDonald on Dec 01, '03 04:27:45PM
in MacOS X, it would theoretically be possible to become the other user and run an applescript to kill their apps with saving, yes?

Actually, before submitting this hint, I tried writing an AppleScript to logout a user, then su to that user and do a

open -a logoutscript.scrpt

Unfortunately, all it did was log out my current user.



[ Reply to This | # ]
open doesn't work here!
Authored by: dom on Dec 01, '03 05:21:29PM
open
always opens as the current logged-in user. Instead, try this:
su other_acct_name
/Applications/logoutscript.scpt
or, in one line:
su other_acct_name -c /Applications/logoutscript.scpt


[ Reply to This | # ]