Mac command line terminal How do I enter a password? MAC terminals need to enter a password sometimes it is not necessary to enter a password, or can not enter a password. The following small Lego to share through their own groping and using the integrated MAC command line terminal input Password method, take a look!
Mac command line terminal input Password method
1, first you have to have an account password, no password is not, you must set up an account password, operation after the deletion of the account password can be.
2, the input time password does not show, but is already entered. This is the character of the UNIX input password.
3, open the Application-> utility-> Terminal, enter in the terminal: sudo/applications/textedit.app/contents/macos/textedit/etc/hosts-> carriage return-> input System Password-> Enter, see if there is a different place!? Prompt password input, at this time does not display the password, presses the carriage return directly.