linds171 wrote:
I haven’t turned my MacBook Air on in ages, the terminal came up
I'm concerned why the Terminal is opening in the first place since you are obviously unfamiliar with it.
Can you provide a screenshot of the Terminal in case it shows any indication of what opened it?
If it is just a default Terminal window like when you open a new Terminal window or launch the Terminal manually and all you see is the notice about the default shell, then that is Ok.
When it says password there’s a picture of a key beside it. What do I do? I tried my password that I use to login to my MacBook, and the password for my Apple ID. Neither worked.
It is your macOS admin password. The AppleID has no bearing on authenticating when using the command line. Nothing will appear on the screen as you type the password, so you need to press the "Return" key to submit the password. If your macOS user account is not an admin user account, then you cannot authenticate here.
Before entering your password & authenticating here, you should first know beyond a shadow of a doubt why this Terminal window is open & asking for authorization. I have concerns whether this is a legitimate request.
FYI, just because the Terminal window may display a message about the default shell and how to change it.....there is no reason or need for you to do so especially if you are not familiar with the command line.