Thanks @DeltaMac
Yes I just talked to my girlfriend and she said that her friend spilled milk on it. Hence the reason she gave me the mac. I will ask her for the installer Dvd also. Hopefully its just the keyboard that is broken.
Did you ever find a solution to the problem? I have the exact same problem. My girlfriend's friend gave me her mid 2010 macbook with 10.6.8 for helping her move because she got a new macbook pro. How ever she forgot her password, and the command+S is not working for me either. I think the...