Does the computer start up* from an OS X install DVD or CD
version normally supporting the computer's hardware version?
(You did not specify if you have any tools or utilities; no info.)
*If so, and there's no login required when starting from an Install disc,
then you could be able to totally erase the computer & reinstall.
If the computer has a FileVault or a different kind of security set,
then even the booted installer disc won't be able to re-set that...
You would have to be more specific, in what you have, in order
to get into a closer match to what may work to access the Mac.
With the computer booted on startup into Single User or terminal,
there are ways to reset or change the password. If the FileVault
or other *firmware password* was set, you may have a different
set of problems. Physical access to a machine, where one can
open the unit and remove one RAM chip, can sometimes allow
someone not otherwise authorized, to gain access into software.
However, the above may be out of cue; I'm a bit rusty on this topic.
You were given this computer, and the original owner has no clues?
Normally, that'd be a bit suspect in and of itself. Proof of ownership?
What do you know about the computer? Model, year, OS X, specs?
• Encrypting with Mac OS X FileVault: (set-up & how it usually works)
http://main.uab.edu/Sites/it/faqs/55621/
• About FileVault: (per Mac OS X 10.4 Help)
http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1877.html
If the Master Password was set, then you'd need to have it & enter it
to be able to change the secondary password; once you're logged in.
There may be a few work arounds, when that is lost or forgotten, etc.
However, from what I've read, there is no workaround; if it is lost.
• Unlock a Mac stuck at 'Master Password' login screen
http://hints.macworld.com/article.php?story=20071129115342497
*What kind* of login window do you see? There is more than one kind.
If the screen you see is similar to what the above link describes, there
is a chance you could try their instructions; or a variant, to access it.
Or, try and boot from the Installer disc #1, and if you can get past a
login screen on startup (not set by FileVault or Master Password)
you could use that Installer and do a basic re-set of Admin password.
And, with a normal Admin account, use the new/reset PW to log-in.
Once in, you could change other settings to not see login on startup:
Unless the system has a FileVault, encrypted system, or Master Password.
(I can set my computer to require a password on wake up, also, set to
require password on start up, and other options. Some users have a
computer set up to not use the Admin account on a daily basis; so as
to make the computer itself more secure, they use a standard account.)
If the security was set in firmware, then the rules for simply setting up
a new password won't work. There had been mention of another way
to work around this problem, in the legitimate sense, to gain access.
And if security is only on the contents of the computer's hard disk drive,
you should be able to boot the computer from an OS X install DVD that
is compatible with the hardware model of the computer; if it passes this
test & you can start from an installer disc, see if you can erase the HDD.
If you have nothing on there and can't access it via lost password, there's
nothing there to lose. However, if the firmware password was set, that
would be in the logic board of the Mac; even a replacement hard drive
is not likely to allow access, if that was the case.
• How To Create A New Administrator Account (single user? it may work)
http://www.hackmac.org/hacks/how-to-create-a-new-administrator-account/
Anyway, at this hour, I'd have to know more about what you have; to
include any bootable OS X install DVD or CD, and more about the Mac.
And I could use sleep more than I could justify further speculation, now.
Maybe some other Discussions reader can help...
Good luck & happy computing! 🙂