2 weeks ago
I have a script that save in a text file the last logins, but I need to show the text file content in a popup window on the finder, with an OK button to close it.
Any idea?
2 weeks ago
You can use the last command in Terminal to list the last sessions of specific users. As for showing the information in the Finder, you can use Jamf Helper to display the list to users.
2 weeks ago
I use this EA to get lasted logged in user
https://github.com/and992/Jamf-EA/blob/main/Last%20Logged-In%20Use.sh
a week ago
I would probably use Jamf Helper, calling the script with a Launch Agent to display the info you want with the action buttons you desire. Assuming you are wanting the user to see this which is seems like you are wanting.