The password can be reset but that involves booting from the OS X installation DVD. She does have those?
If you had ventured to tell us what sort of Mac she had, and what version of the Mac OS she was using, help on the none ejecting CD drive would have been easier to give.
What has she tried to remove the CD that may, or may not, be stuck in there?
P
my sister lost her log on passw can anyone help recovering?
also her cd drive won't eject

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic