You have posted to the OS X Server forum, your question is Mac computer question.
Which password - account password, firmware password?
You should get the CD and/or password from the seller or take the unit to an Apple service center. There are many pages, some dubious, about how to get into Macs but I am not going to post them here. If you are legit you will not mind taking the machine into an Apple service center.