Last active
May 25, 2016 16:05
-
-
Save toyg/69c192fd9ce21dbdb646d17a0c630195 to your computer and use it in GitHub Desktop.
Change Login background image in OSX. Execute with sudo; takes 1 parameter, the path to your new file (must be a PNG image).
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/bash | |
chflags nouchg /Library/Caches/com.apple.desktop.admin.png | |
cp /Library/Caches/com.apple.desktop.admin.png /Library/Caches/com.apple.desktop.admin.BACKUP.png | |
cp $1 /Library/Caches/com.apple.desktop.admin.png | |
chflags uchg /Library/Caches/com.apple.desktop.admin.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment