News for hackers. Stuff that matters.
Re:I included emoji in my password and now I can't log in to... by Johnny_Brahms on Wednesday December 16, 2015 @02:34AM (#10742882)
I have had something similar bite me, although mine was easily fixed. I used swedish (åäö) characters for my disk encryption password. This worked fine, until I did a dist-upgrade and had my boot keyboard reset to US QWERTY (using a custom swedish version of capewell-dvorak).

The solution for me was to stick on LTS distros.

Re:I included emoji in my password and now I can't log in to... by keithpeter on Wednesday December 16, 2015 @02:57AM (#10742928)
A quote from the Slackware README_CTYPT.txt

"NOTE: if you use a non-US keyboard and need to enter a passphrase during boot, this may be problematic if the keyboard mapping is US while Slackware runs from the initrd filesystem. In this case, add support for your keyboard to the initrd image using this additional parameter to the 'mkinitrd' command above: "-l <language>". The string <language> is the same as the one you select in the installer when your keyboard is non-US. Example for a dutch keyboard: "-l nl"."

Now I'm warned that other systems that use automated kernel updates may clobber the keyboard choice for the initrd.

Re:I included emoji in my password and now I can't log in to... by Johnny_Brahms on Wednesday December 16, 2015 @03:19AM (#10743003)
"May" as in "most certainly did", at least when you are lazy like me and use a GUI-centered distro.

I ended up plugging the harddrive into another computer and fixing it from there.

I never got that shit from slackware...

Re:I included emoji in my password and now I can't log in to... by notalaser on Wednesday December 16, 2015 @03:30AM (#10743040)
Slackware don't do shit.

In fact, Slackware don't do anything unless it's told, which is not as bad a thing as it may seem.

Re:I included emoji in my password and now I can't log in to... by keithpeter on Wednesday December 16, 2015 @07:35AM (#10743836)
Took me some years to work it out but I have begun to appreciate Slackware since installing 14.1 summer before last.
Re:I included emoji in my password and now I can't log in to... by kuschku on Wednesday December 16, 2015 @06:36AM (#10743606)
I have to input a different keyboard when logging in through sddm vs. when using sudo, due to sddm refusing to accept non-US locales.
Re:I included emoji in my password and now I can't log in to... by keithpeter on Wednesday December 16, 2015 @07:38AM (#10743849)
I have that one when running init 4 but the encryption pass phrase is before that stage of the boot up the way my laptop is set up. I'll remember that though...
Re:I included emoji in my password and now I can't log in to... by rwmj on Wednesday December 16, 2015 @05:52AM (#10743464)
A similar problem is having a UK pound sign (£) or double quotes (") in your password. These are mapped differently in UK and US keyboards, and £ is sometimes not easily available at all.
Re:I included emoji in my password and now I can't log in to... by Drakim on Wednesday December 16, 2015 @02:43AM (#10742899)
You can still write åäö with the numpad if your keyboard has one.

Alt + 134 = å

Re:I included emoji in my password and now I can't log in to... by Johnny_Brahms on Wednesday December 16, 2015 @02:48AM (#10742911)
I tried that. The LUKS password screen did not support it.
Re:I included emoji in my password and now I can't log in to... by cubitesystems on Wednesday December 16, 2015 @04:28AM (#10743211)
LUKS does not really have a password screen. It must have been your X-window session or terminal emulator that did not support it. LUKS can handle it!
Re:I included emoji in my password and now I can't log in to... by lwf on Wednesday December 16, 2015 @04:42AM (#10743267)
It was actually neither, most probably. Rather, a prompt generated by https://wiki.freedesktop.org/www/Software/Plymouth/
Re:I included emoji in my password and now I can't log in to... by Johnny_Brahms on Thursday December 17, 2015 @08:27AM (#10751309)
Ah yes! Thanks for the correction.
Re:I included emoji in my password and now I can't log in to... by sbierwagen on Wednesday December 16, 2015 @10:51AM (#10745006)
Incorrect. Linux does not support alt codes.

https://en.wikipedia.org/wiki/Alt_code

Re:I included emoji in my password and now I can't log in to... by moviuro on Wednesday December 16, 2015 @03:10AM (#10742965)
I'm pretty sure the standard US layout offers more than enough symbols to write an excellent password.

I tend to prefer extremely long passwords/phrases over things that require stupid characters (had trouble with WiFi keys using the French "é" back in 2008, all my passwords are ASCII since)

Re:I included emoji in my password and now I can't log in to... by oneeyedpigeon on Wednesday December 16, 2015 @03:19AM (#10743002)
Of course, characters that I use in my everyday language aren't "stupid" to me.
Re:I included emoji in my password and now I can't log in to... by himlion on Wednesday December 16, 2015 @03:30AM (#10743037)
Even my name contains that "stupid" character :)

Although I have to agree with him I wouldn't use it in a Wifi password either.

Re:I included emoji in my password and now I can't log in to... by pimlottc on Wednesday December 16, 2015 @09:26AM (#10744401)
That makes me wonder - how long before someone manages to put an emoji in their legal name?
Re:I included emoji in my password and now I can't log in to... by creshal on Wednesday December 16, 2015 @03:27AM (#10743028)
Every language that is not American English is "stupid"?
Re:I included emoji in my password and now I can't log in to... by umanwizard on Wednesday December 16, 2015 @04:04AM (#10743137)
No diacritics in Latin, either!
Re:I included emoji in my password and now I can't log in to... by creshal on Wednesday December 16, 2015 @04:06AM (#10743142)
æ?
Re:I included emoji in my password and now I can't log in to... by lucozade on Wednesday December 16, 2015 @04:22AM (#10743184)
I believe that's a ligature not a diacritic [1]

[1] apologies, it appears to be the last pedantic Wednesday before Christmas

Re:I included emoji in my password and now I can't log in to... by Johnny_Brahms on Wednesday December 16, 2015 @03:22AM (#10743009)
It was a long password phrase. One of the words just happened to be in my mother tongue.
Re:I included emoji in my password and now I can't log in to... by Tepix on Wednesday December 16, 2015 @03:43AM (#10743070)
I'm baffled that the standard US keyboard layout doesn't even have the ° character, something I use all the time.
Re:I included emoji in my password and now I can't log in to... by umanwizard on Wednesday December 16, 2015 @07:00PM (#10748426)
I think we typically get around this by writing things like "122 degrees", "50C", "122F", etc. in informal settings.
Re:I included emoji in my password and now I can't log in to... by roryokane on Wednesday December 16, 2015 @04:00AM (#10743123)
It does have that character. Press Option-Shift-8.
Re:I included emoji in my password and now I can't log in to... by creshal on Wednesday December 16, 2015 @04:38AM (#10743252)
The same Option key that isn't on the standard US layout either?
Re:I included emoji in my password and now I can't log in to... by mikeash on Wednesday December 16, 2015 @12:13PM (#10745635)
You only need access to two symbols to be able to write an excellent password. But that doesn't mean it would be reasonable to, for example, restrict a password to only allow 1 and 0.
Re:I included emoji in my password and now I can't log in to... by 1wd on Wednesday December 16, 2015 @04:43AM (#10743271)
I had to use a system once that accepted the "stupid characters" ( and ) in the password on account creation, but not on login...