You have an older iBook. I will have to check from home to see if that iBook can support OS X or not. 64 MB is really lean on RAM, but the 366 MHz processor is enough to run the OS. My Powerbook G3 333 MHz @ 398 MB RAM does work with OS X.
You mentioned a password. What kind of password are you looking at? Do you have a OS 9 control password like FoolProof, or perhaps a file-level encryption / access password, such as what DiskGuard used to do? Or perhaps you have a passworded set of stuffit archives that you are tryiing to get to. I am trying to see if your password is OS related, or an application.
Mac OS 9 did not have usernames / passwords. It did have a keychain thing that I never really understood.
I am guessing that you have some sort of OS password on the file system that you need to break. What program did you use? It is not Mac Traditional.
You mention a login password. Did you used to use the Mac at school or something that would have had an AppleShare server? Does your computer offer a dialoge box with a little share symbol in the upper left corner, and asking you for a username and password?
It should have a cancel button. Try tapping the cancel and see if that does it for you.
I have an idea. Can you take a digital picture of the login box, and email to me by chance? There are ways to attach pictures to posts or to an email. I would like to help, but really need to see this to know where to go next.