- Hold
⌘+S
on startup mount -uw /
(fsck -fy
is not needed)launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
(or/System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
in 10.6)dscl . passwd /Users/username
(without a trailing slash) and enter a new password. You can ignore the error aboutcom.apple.DirectoryServices.plist
.reboot
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Backend</key> | |
<string>QEMU</string> | |
<key>ConfigurationVersion</key> | |
<integer>4</integer> | |
<key>Display</key> | |
<array> |
# Allow localhost traffic
iptables -A INPUT -i lo -j ACCEPT
# INVALID type packets should be DROPped regardless of source.
iptables -A INPUT -m state --state INVALID -j DROP
# Allow traffic for related/established connections already running
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo apt-get remove --purge bluej*
sudo apt-get remove --purge chromium*
sudo apt-get remove --purge libreoffice*
sudo apt-get remove --purge scratch*
sudo apt-get remove --purge vlc*
sudo apt-get remove --purge wolfram*
sudo apt-get clean
sudo apt-get autoremove