4

My OS X always forgets its Wi-Fi network passwords after disconnecting or sleeping. Do you have an idea of how should I troubleshoot this or what might be the cause?

OS X El Capitan 10.11.5, MacBook Air

4
  • 1
    Might it be a permissions issue? I sometimes have similar problems with settings not getting saved when the home folder has bad permissions (probably issues with the ~/Library folder). Using the terminal command "resetpassword" from the recovery permission may help as per osxdaily.com/2011/11/15/…
    – j-beda
    Commented Sep 15, 2016 at 20:16
  • That solved my issue. I suggest that you should post this as the answer so that I can mark it as the solution.
    – Pedro Rolo
    Commented Sep 18, 2016 at 11:25
  • repair your permissions in disk utility. support.apple.com/en-gb/HT201560 should solve any permission issues you're having.
    – OzzieSpin
    Commented Sep 19, 2016 at 10:45
  • The Disk utility permissions repair does not touch files in user folders, so it will not address any problems associated with bad permissions in you own ~/Library folder
    – j-beda
    Commented Sep 19, 2016 at 12:55

1 Answer 1

3

This might be a permissions issue.

I sometimes have similar problems with settings not getting saved when the home folder has bad permissions (probably issues with the ~/Library folder). Using the terminal command resetpassword from the recovery permission may help as per http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/

  • Restart using the recovery partition (hold down Command+r when restarting)

  • Under the "Utilities" menu select "Terminal"

  • In the Terminal window, type resetpassword and hit Return

  • When the Password Reset Utility launches, select the startup drive's icon and then select the user account that is having the difficulties (or go through one-by-one and select them all)

  • Click on the "Reset Home Directory Permissions and ACLs" button at the bottom.

Unfortunately, recent versions of macOS (10.14 and above maybe?) do not seem to have this feature within the Password Reset Utility. This seems to do the same thing without the Password Reset Utility or requiring restarting in the Recovery Partition. From https://support.apple.com/en-us/HT203538

  • From the Finder menu bar, choose Go > Home. Your home folder opens.

  • Choose File > Get Info. An Info window for your home folder opens.

  • If the Sharing & Permissions section at the bottom of the window isn't open, click the triangle in that section to open it.

  • If the lock at the bottom of the window is closed lock, click the lock and enter an administrator name and password.

  • Click the action menu , then choose “Apply to enclosed items.” Click OK to confirm the action.

  • A progress bar appears at the top of the window. When done, restart your Mac.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .