This article is related to macOS Sierra 10.12.1 and 10.12.2. Because i am still working on 10.12.3 beta update to find out all keychain changes.
My script had a function in which i mentioned the manual path of the login keychain with the $user variable which was like :
1 | \Users\$user\Library\Keychains\login.keychain |
1 | \Users\$user\Library\Keychains\login.keychain-db |
For AD account lockout issues, it has some rumours that it will be fixed in 10.12.3. Hoping for the best.
For your shell scripts in which you need to give the login keychain path. I made a small change in the script and it is working fine with macOS sierra and El Capitan as well. Here is the change in the script which i created.
1 2 3 | currentLoginKeychain=`security login-keychain` grepCurrentLoginKeychain=`echo $currentLoginKeychain | tr -d '"'` echo $grepCurrentLoginKeychain |
Thanks for your reading, if you like it please comment.
0 comments:
Post a Comment