You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Cannot type password into terminal

When I type my password into terminal on my MacBook Air 2023.the ext does not appear on the screen. After pressing enter I get "sorry try again". What am I doing wrong?


MacBook Air (2018 – 2020)

Posted on Oct 18, 2023 6:28 AM

Reply
3 replies

Oct 18, 2023 6:52 AM in response to Encryptor5000

Hello, the command is:

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane

sudo rm -fr ~/Library/Application\ Support/Oracle/Java


I got this command from the Java website. I installed Java on my MacBook Air but I am not able to locate the program to open it. In terminal it tells me the version that is installed, but again I have no way to open it.

I want uninstall the program and then try to install it again.


Oct 18, 2023 7:17 AM in response to lolly177

Thanks for that info! Seems legitimate - I found those instructions here: https://www.java.com/en/download/help/mac_uninstall_java.html


Be careful when using those commands to uninstall Java; copy and paste the first line (command) into Terminal, hit Enter (Return), provide your password. Then copy and paste the second command, etc.


Here's what the commands are asking your system to do:


  • sudo: Run whatever is after this with root (superuser) privileges. Basically the Mac equivalent of "Run as Administrator" from Windows.
  • rm -fr: Forcibly delete the specified file or folder (and its contents) and don't ask for confirmation. Very dangerous!

Oct 18, 2023 6:35 AM in response to lolly177

Hi lolly177,


This is normal behaviour. When the key icon appears in Terminal with a password request, it will seem as if you're typing nothing. Just enter your password as normal regardless and hit Enter (Return) to proceed.


Just curious, are you trying to run a command that contains "sudo"? If yes, can you please post the command here? "sudo" grants superuser privileges and can be dangerous if you don't know what you're asking the system to do.

Cannot type password into terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.