How to solve "cannot open password prompt from OS X preferences"
For unknown reason I went into problems with my OS X installation. Whenever I needed to change some system preferences (like allowing the apps to control the computer), the password prompt window after clicking the lock button hasn't appeared. After spending a lot of time on forums and typing a lot of commands to to terminal without success I've found the solution is pretty easy.