WiFi Logout on Account Logoff

New Contributor II

Hey Everyone,


I'm trying to find a solution that will allow the WiFi credentials to be forgotten the second that the user logs off of the account. We have multiple people using these laptops and each of them have their own WiFi login and we don't want one user to be using another users WiFi login. I looked around the Jamf Pro configuration profiles and couldn't find anything so I just assumed it was going to be a lot more complicated than that. I thought about deleting the certificate that our WiFi downloads when you log on so you would be forced to log back in but never really saw that through so now I'm taking any ideas. Thanks


Valued Contributor

Hi MStasiak, you can try creating a bash script to delete the certificate. 

sudo security delete-certificate -c "NameOfCert"  /Library/Keychains/System.keychain