Hi, we roll out Duo 2FA to our fleet, we install it via jamf and it comes up as this plist file com.duosecurity.maclogon.plist. /private/var/root/Library/Preferences/com.duosecurity.maclogon.plist
Does anyone have a way I can view this application and create a smart group if it is in fact installed or get it to show in inventory? Any advice is appreciated. TIA.
Yes, me and my colleague were able to get this working with the following script outputting a string. I was then able to create a smart group based off the EA and the OS version to make sure we updated the computers that were falling out of support.
#!/bin/sh if [ -f /private/var/root/Library/Preferences/com.duosecurity.maclogon.plist ] then echo "<result>Duo Installed</result>" else echo "<result>Duo Not Installed</result>" fi