Skip to main content
Question

Make Me Admin Script (where can i find the logs )

  • May 14, 2024
  • 2 replies
  • 117 views

Forum|alt.badge.img+2

Hello , 

Im using this Make Me admin Script https://github.com/jamf/MakeMeAnAdmin , it works perfectly to give the user admin acces , but where i can find the logs ( to see what the user did with the admin acces ? 

Thank you 

2 replies

jamf-42
Forum|alt.badge.img+17
  • Esteemed Contributor
  • May 14, 2024

In the script: 

log collect --last 30m --output /private/var/userToRemove/$userToRemove.logarchive

Personally I would not be using this in production..this would be better: 

https://github.com/SAP/macOS-enterprise-privileges

 


Forum|alt.badge.img+2
  • Author
  • New Contributor
  • May 14, 2024

In the script: 

log collect --last 30m --output /private/var/userToRemove/$userToRemove.logarchive

Personally I would not be using this in production..this would be better: 

https://github.com/SAP/macOS-enterprise-privileges

 


thank you @jamf-42 

yes in the script it says that the log file will be on /private/var/userToRemove/ but i can't find any thing there . 

i don't want to use an application to do that , 

thank you