# pamd.sh
#!/bin/bash
# OS X 10.9.2
# pamd.sh
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.digest-service.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kpasswdd.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kadmind.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kcm.plist
# pamd-mv.sh
#!/bin/bash
# OS X 10.9.2
# pamd-mv.sh
#
#### Safe Mode Boot ####
home=$HOME
pam=$home/backup-pamd
mkdir $pam
sudo mv /etc/pam.d/sshd $pam
sudo mv /etc/pam.d/ftpd $pam
sudo mv /etc/pam.d/smbd $pam
sudo mv /etc/pam.d/rshd $pam
$ chmd 700 pamd.sh
$ sudo ./pamd.sh
# After Safe Mode Boot
$ chmd 700 pamd-mv.sh
$ sudo ./pamd-mv.sh
# 追記
% open /Applications/Utilities/Keychain\ Access.app/
して、Keychains "System"
の中にあるKerberos の自己証明書と public key と private key を削除。
# 2014-03-04
続きは
http://midorex.blogspot.com/2014/03/os-x-1092-overwrite-update-osx-1092.html
の 7) Keys in "Login" Keychains
# 2014-03-07
pre tag の訂正
この記事の公開日時を訂正。
http://midorex.blogspot.com/2014/03/published-date.html
0 件のコメント:
コメントを投稿