On Fri, Mar 30, 2012 at 2:51 PM, Mark Woods <span dir="ltr"><<a href="mailto:mwoods@online.ie">mwoods@online.ie</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you sure this works? As far as I know, and I've only recently<br>
returned to the mac cult so I may well be wrong, the login keychain<br>
password and the account password are not actually one and the same.<br></blockquote><div><br></div><div>That's more or less correct.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My understanding is that they are kept in sync if you change the<br>
account password while logged in to the account, but changing the<br>
account password via some other means does not change the keychain<br>
password. If I've got this wrong, um, I'll need to spend some time<br>
reviewing the security of the data on my macbook.<br></blockquote><div><br></div><div>If you use the Unix command passwd, it will change the PAM authentication password, but if you use dscl to change it, i.e. directory services, then it will set the password for the user in Open Directory. The Unix command passwd has been deprecated in OS 10.7 (Lion), so you *have* to use the dscl method at the command line. I think the default authentication service order is network login, local login via directory services, Unix/PAM login.</div>
<div><br></div><div>Since they're stored in different locations, they could be different. We ran into this problem a few years back when we had to manually change user passwords and used passwd to do it; the keychain password remained the same, so we had to delete the keychain and create a new one.</div>
</div><div><br></div>-- <br><div><br></div><div>Damon Allen Davison</div><div><div><font color="#000000"><a href="http://twitter.com/allolex" target="_blank">http://twitter.com/allolex</a><br><a href="http://allolex.net/" target="_blank">http://allolex.net</a></font></div>
</div><br>