我试图通过终端[1]以明文方式查看(作为root)wifi密码,但得到以下错误:
sh-3.2# security find-generic-password -ga "ROUTER-NAME-HERE"
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
sh-3.2# security find-generic-password -a lily -s "ROUTER-NAME-HERE" -g
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
所以我用谷歌搜索错误[2],但我没有找到答案有帮助。
[1] 如何通过终端访问Wi-Fi密码?
sh-3.2# system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: OS X 10.8.5 (12F45)
Kernel Version: Darwin 12.5.0
Boot Volume: lily
Boot Mode: Normal
Computer Name: lily’s MacBook Air
User Name: System Administrator (root)
Secure Virtual Memory: Enabled
Time since boot: 12:37
sh-3.2# uname -a
Darwin lily-MacBook-Air.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64