When the macOS was updated, the OS automatically removed the MFA Agent plugin entry from the system.login.console and/or system.login.screensaver. Due to this, the users were not challenged by the MFA authentication at login and/or unlock.
macOS also removed 3rd party plugins of MFA vendors if there were changes that could affect the relevant authorization databases. For example, after the upgrade of macOS Monterey to version 12.3 or higher, RSA MFA Agent plugin entry was removed from 'system.login.console'.
Checksum SHA256 (RestoreRSAPlugin.zip)= 99ce51ac10bf2bf97454a574ee891e4cda661e5865979bd650618ba74973a00d |
Command:
sudo cp RestoreRSAPlugin.sh /Library/Application\ Support/RSA\ MFA\ Agent/
Command:
sudo chmod 751 /Library/Application\ Support/RSA\ MFA\ Agent/RestoreRSAPlugin.sh
About the script:
This script verifies and restores the RSA MFA Agent plugin. If the plugin is removed during the macOS updates, then this script can be executed either with no arguments or “EnableMonitor” or “DisableMonitor” arguments.
Executing the script without arguments verifies and restores the RSA MFA Agent plugin on the existing macOS version (will not monitor for RSA MFA Agent plugin removal for future macOS updates). After executing this command, restart the machine to enable the plugin to function at the console and screensaver.
Command:
sudo /Library/Application\ Support/RSA\ MFA\ Agent/RestoreRSAPlugin.sh
Note: This option does not monitor for the RSA MFA Agent plugin.
Executing the script with “EnableMonitor” as an argument adds the daemon service to monitor for RSA MFA Agent plugin after the macOS restarts. This adds the RSA MFA Agent plugin as per the Agent configuration and performs machine restart to enable the plugin to function. Also, if the plugin is already removed, then this option restores it when the machine is restarted.
Command:
sudo /Library/Application\ Support/RSA\ MFA\ Agent/RestoreRSAPlugin.sh EnableMonitor
Executing the script with “DisableMonitor” removes daemon service to stop monitoring for the RSA MFA Agent plugin.
Command:
sudo /Library/Application\ Support/RSA\ MFA\ Agent/RestoreRSAPlugin.sh DisableMonitor
Note: