Find User Who Installed App

Hi, I need to know if there's a way to see who installed an app on MacOS. We run High Sierra in our labs and we've had an incident where a couple unauthorized apps were installed. Any information is greatly appreciated!

iMac, macOS High Sierra (10.13.6)

Posted on Oct 12, 2018 12:11 PM

Reply
11 replies

Oct 16, 2018 6:45 AM in response to atridgell

If you had been running System Accounting accton(8)during the timeframe of the event you want to isolate, then you could produce a report of all commands run by an individual user through the sa(8)utility. You could also do this with lastcomm(1) provided that the original accounting file remained from the timeframe where you want to isolate the user and particular command.

Oct 22, 2018 12:42 AM in response to leroydouglas

Leroy and atridgell, have similar on our network, lurkers that appear when browsing history is cleared and then website data is removed. Can't find any apps installed, but disappear for a while, on macOS reinstall. Must be somewhere. Hack hangs two sites on us: cullturesforhealth.com and encycolorpedia.com (italian homestyle cooking and korean clothes). Stack-over site visit instant infection [1800's aussie boaters, typical].


Here's a site with more

sqlite
solutions. Doesn't do anything for me. Calendar script might help?

Your Mac Remembers Everything You Download. Here's How to Clear Download History. - The Mac Observer


View dl:

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'

Clear dl:

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'

Auto clearing:

do shell script "sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'"

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Find User Who Installed App

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.