Topic: profile.php: only change password

I tried to modify profile.php sothat the members can only change their passwords. In other words they don't see any link to other sections like display, privacy or.... I tried to delete some parts inside profile.php but i did get error message.I hope somebody will help me to modify profile.php or in creating another page which holds only a from with action=chane_pass.