I know it's an old laptop but somebody knows how to reset it
Without a password, you have to start the device from an installation medium and reinstall the system from it.
Is a PC painted with the installation disk or something?
No.
Data carrier: DVD, CD, USB stick, hard drive, etc.
Is there another possibility or because I only have an Imac?
Or how does it work? Also with usb?