Last active
January 26, 2020 06:45
-
-
Save neilmartin83/367193b0daf383d2a3b8c6ad9506f21a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
loggedInUser=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }' ) | |
sudo -u "${loggedInUser}" /usr/local/bin/vboxmanage setextradata global GUI/UpdateDate never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment