Mac OS X: Access Hosts File on Mac OS X Lion

Posted Leave a commentPosted in Mac

On Mac OS X Snow Leopard and below it was possible to access the Hosts file using this command: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts In Mac OS X Lion this is no longer possible due to sandboxing. The best option to access hosts file on Lion is Terminal: sudo vim /private/etc/hosts Any terminal editor will do (vi, […]

PowerShell: Script Signing

Posted 2 CommentsPosted in PowerShell

Signing a script doesn’t mean you’re approving or authorizing it, as you might do with a contract or a credit card slip. In the world of digital security, signing is the process of affixing your identity to something and ensuring that the state or condition of that “something” has not been modified in any way. […]