You don't change your dotmac password from System Preferences. Instead, log into dotmac (
www.mac.com) and click on Account Settings. You can change it there.
Or, if you forgot it, you can reset it at iForgot.apple.com.
If you change your password, don't forget to type in the new password in your mail application and System Preferences.
Cheers,
.:. tony