I wanted to check if it's possible to use emoji in a password for my Account on OS Yosemite. It worked but I didn't realize that the login screen has only native keyboards, so I can't type emoji there.

So the situation is that I know my password but I can't type it. The machine has rebooted to the Recovery HD and I don't see a way to enable the emoji keyboard there. In effect, since FileVault was turned on, I can't restore the password easily.

I see three possible options here, but would be happy to hear anything else:

  1. Find a way to type emoji in the password field, this would be ideal.
  2. Access my Account from external machine that will allow me to type my password from there so I can type emoji (not sure there such a thing)
  3. Restore the password even though I used FileVault.

user3439894's user avatar

user3439894

60.8k10 gold badges116 silver badges139 bronze badges

asked Aug 26, 2015 at 19:26

Artiom Dashisnky's user avatar

24

If you have "Other Input Sources" available at the top right of your login screen, select the one called Unicode Hex Input. This can be used to input emoji (or any other character) into the password field, as long as you know the Unicode Hex number of the character. This number can be found in the Character Viewer or on the internet.

Some items you find in the "emoji" category have Unicode hex numbers with just 4 characters, such as Airplane U+2708 ✈. With the Unicode Hex Input keyboard, you input this by holding down the Option key while you type 2708.

Other emoji have Unicode hex numbers with 5 characters, such as Grinning Face U+1F600 😀. For these you need to find the two corresponding UTF-16 Hex codes (sometimes called "surrogates") by consulting Character Viewer or using an internet source like fileformat.info. For 1F600 these are D83D and DE00. You can input 1F600 by holding down the option key while typing D83DDE00. You may see two dots in the field, but it is still just one character.

answered Aug 28, 2015 at 14:58

Tom Gewecke's user avatar

3

I solved it by the solution Apple Support suggested to do, here are the steps I did:

  1. Install OS X on an external drive from Recovery mode (Cmd + R while starting).
  2. Boot from the external drive.
  3. Install the Hex/Emoji keyboard to be able to type the relevant character.
  4. Go to Disk Utility, choose the locked disk. Go to File -> Turn Off Encryption.
  5. Enter your password here and leave it for couple of hours, since the decryption is going to take a while and there is no indication of progress.

    Disk decryption in progress

  6. Restart in Recovery mode again. Go to terminal and run resetpassword.

  7. Choose your disk and create a new password for your user.
  8. Restart and use your brand new password to login.

grg's user avatar

grg

209k46 gold badges374 silver badges505 bronze badges

answered Aug 28, 2015 at 9:47

Artiom Dashisnky's user avatar

8

Since you have Filevault - that makes your situation precarious and a bit delicate.

Some good news, Apple has disabled emoji entry in the password pane for 10.11 El Capitan - I can't paste or get emoji in the Users & Groups preference pane.

Apple's official manner to get past this is to click the ? in the password field and reset your password. If you used a recovery key - you can enter it without needing emoji keys. If you used AppleID, you can enter that without needing emoji.

file vault unlock

Barring that, If you have a current backup (or can let things complete if you are logged in), the fastest way froward is to wipe the Mac and then restore the backup. You can choose a new password for a new admin account and then import the user files.

If you have ssh enabled, or remote desktop enabled, and the Mac is still logged in to your account, you could log in to the Mac from another Mac over the network. This will not work if you have rebooted the Mac and Recovery HD boot is waiting at the Filevault unlock screen.

If you have a second admin account that is FileVault enabled, you could reboot and use that password to unlock the disk and then reset the password on your main account. Lastly, you could boot to recovery HD or internet recovery and reinstall the OS to a USB drive. Then you can mount the file vault drive and have emoji to unlock the volume and make a new admin account through various tricks / procedures similar to using single user mode to remove the .AppleSetupDone file.

Community's user avatar

answered Aug 26, 2015 at 20:07

bmike's user avatar

7

Adding to bmike's answer, if you can't do any of that, and don't have a recent backup, you might try connecting the disk to another computer, and mounting the volume to save your files. You can apparently do it with both mac, windows and linux.

Community's user avatar

answered Aug 27, 2015 at 9:57

SztupY's user avatar

2

You could use ssh, telnet, vnc/rdp, Back To My Mac or similar methods, provided they are enabled and/or available.

Also you could login using the default guest account or any regular user account, if available. Then:

Execute the CLI Terminal.app; type passwd <username>; enter ⎆/return ⏎; (where <username> is the name of the account you're locked out of..)

You will be prompted to enter your problematic password. Hitting ++space will open a unicode tool to assist you with entering the emoji character(s).

If successful you will be granted the opportunity to enter a new password. Type the new password a second time (to verify) and that ought to do the trick.

grg's user avatar

grg

209k46 gold badges374 silver badges505 bronze badges

answered Aug 27, 2015 at 16:03

voices's user avatar

2

This is to go with @TomGewecke answer.

If you are seeing the input menu at the top right hand corner of the login screen.

This may only be because their is another user logged in. ( Fast user Switching).

If there is a user already logged in, the input menu will always show even if no users have it enabled to show in their menu bar.

But if there are no users already logged in then you will not get the menu, unless you have enabled the input menu to show in the login window before.

If you want the keyboard layout (input menu ) to show at the login window regardless of if there are other users logged in or not with fast user switching. Using an Admin account :

  • Go to System preferences -> Users & Groups.
  • SelectLogin Options.
  • Check Show Input menu in login window.

enter image description here

  • Then when at thelogin window:

click the Input menu (shows the name of the currently selected input source next to a keyboard icon) in the upper-right corner of the screen, then select the desired input source or keyboard layout. If you don't see the input source you are looking for, move the pointer over Other Input Sources, then select the input source from the complete list that appears.

Apple doc

(not originally I did not see the Unicode Hex input. As I was doing this from ScreenSharing and the Unicode Hex input was at the bottom, but of my screen. So I missed it the first time )

answered Aug 28, 2015 at 17:10

markhunte's user avatar

Even if you're locked out, you should still have access to the Accessibility Settings part of your System Preferences, in which case you can proceed to Keyboard Preferences and adjust your peripheral input sources. This means you can add/enable "Unicode Hex Input". Plus, checking "☑︎ Show Input menu in menu bar" will allow you to "⌨ Show Character Viewer" and inject a variety of Unicode & Emoji characters.

grg's user avatar

grg

209k46 gold badges374 silver badges505 bronze badges

answered Aug 27, 2015 at 17:10

voices's user avatar

4

I am not a Mac user so this may be nonsense. However since the situation is desperate, I'll offer it anyway.

Unicode Hex Input

You can use the utility in OS X to generate many Unicode characters by manually inputting the hexadecimal code. Other options include saving word processor files as Unicode or UTF text.

  1. Make sure you have activated the Unicode Hex Input keyboard. See the activate keyboards section for more details.

  2. Open an application which supports Unicode HexInput such as TextEdit. TextEdit is installed with OS X and can be opened from the Dock or the Applications folder.

  3. Switch keyboards to the Unicode Hex Input from the flag icon dropdown menu on the upper right. If the Unicode Hex Option is grayed out, then you are in an application which does not support this utility. Note: Most current applications support this keyboard, but some old versions of software may not.

  4. To input a specific character, hold down the option key, then type in the four-digit hexadecimal Unicode value (e.g. 044D = Cyrillic э). Charts listing Unicode values for different scripts are available at www.unicode.org/charts.

http://symbolcodes.tlt.psu.edu/keyboards/mackey.html#unihex

answered Aug 27, 2015 at 14:51

guest user 1234567890's user avatar

4

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.