You'll have to boot using the original OS install disk that came with the Mac, at the first screen that pops up ignore the centre splash and go to the drop down menus where you'll find a procedure to reset the master password. Then just reboot as normal.
TIP: Get a small diary book to write down your user names, passwords and serial numbers / etc for future reference. It beats scratching you head, trying to remember a password