News for hackers. Stuff that matters.
Re:Debian opens a can of username worms by hiccuphippo on Friday December 06, 2024 @11:35AM (#42341283)
As someone who needs non-ascii characters to write my name: please don't. You are making things worse just to be "courteous" about something we don't care about and will actually be annoyed at if we have to find how to write a letter in the keyboard or worse case scenario, figure out how to change the layout to the correct one before I even logged in.
Re:Debian opens a can of username worms by jks on Friday December 06, 2024 @12:04PM (#42341624)
Likewise. My last name contains a non-ascii character. In ~2009 I started at a company whose admin conveniently set up an account for me on their Ubuntu server... on which no-one could then log in locally because the login manager crashed when trying to display the list of users. I logged in via ssh and changed my name to the nearest ASCII equivalent.

I always feel slightly worried on sites that demand that I give my full legal name (such as the US ESTA form), and then refuse to handle it because it includes "illegal" characters.

Re:Debian opens a can of username worms by beardygo on Friday December 06, 2024 @12:16PM (#42341766)
Full legal name as appears on machine readable zone in your own passport. Allowed characters are A-Z only, see MRZ specifications:

https://en.wikipedia.org/wiki/Machine-readable_passport

Re:Debian opens a can of username worms by Muromec on Friday December 06, 2024 @05:03PM (#42345029)
What's a legal name? It presumes it's somehow different from other ... illegal names. But in which way? Which law has a say?
Re:Debian opens a can of username worms by beezlebroxxxxxx on Friday December 06, 2024 @06:29PM (#42345725)
"Legal name" is a catch-all term that usually means "approved for use on government issued ID". Are there instances when that's not always the case and some forms of ID (not just, say, an ID card, but also in tax filings, for example) actually have different rules? Amazingly, sometimes yes. But usually that's what it means.
Re:Debian opens a can of username worms by Muromec on Friday December 06, 2024 @07:34PM (#42346134)
I get what it could mean but it's jurisdiction bound and doesnt resolve unambigyously, doesnt match mrz and isnt always ascii.
Re:Debian opens a can of username worms by Dylan16807 on Friday December 06, 2024 @07:02PM (#42345959)
The name the legal system uses to refer to you.
Re:Debian opens a can of username worms by Muromec on Friday December 06, 2024 @07:22PM (#42346073)
Legal system as in court of law? They tend to use more letters than I have in my actual passport (definitely more than fits into mrz) and depending on which court we talk about they also use different alphabets. They also assume certain structure in those nsmes, which differs from one court to another.
Re:Debian opens a can of username worms by Dylan16807 on Friday December 06, 2024 @07:24PM (#42346086)
Are you using courts that insist on different alphabets? Then you have multiple legal names.

And some operations are based on exactly what's on your passport.

It's more than court, taxes are an important and relevant set of laws.

Re:Debian opens a can of username worms by Muromec on Friday December 06, 2024 @07:38PM (#42346162)
Yes, I had a pleasure do deal with two courts that use two different alphabets this year. They one of the two referenced the other. The name written in neither of two matches whats actually written in my passport. It isn't a complicated name by any reasonable metric.

Taxes are easier -- they just ids and names are display only kind of stuff, sourced from the base registry.

Re:Debian opens a can of username worms by ASalazarMX on Friday December 06, 2024 @12:11PM (#42341705)
This has happened to me with passwords containing foreign characters. The system would accept it, but further logons would be impossible. Now I always strip diacritics to be safe.
Re:Debian opens a can of username worms by jks on Friday December 06, 2024 @01:45PM (#42342809)
A friend mentioned using control characters in passwords... like ^F and ^B, but not ^C because that's the interrupt character. Feels vaguely risky to me (does ^U empty the line? does ^W delete the last word? does your terminal emulator do some weird encoding like it does for cursor keys?) but if it works, why not?
Re:Debian opens a can of username worms by jowea on Friday December 06, 2024 @05:42PM (#42345362)
I suspect I have run into a couple bugs because of password generators putting characters that some backend system cannot process in the password. Halfwish they just did DKWhhjwqjkwqjmHSJKHAIUHQwdmlsadkl instead.
Re:Debian opens a can of username worms by hughesjj on Friday December 06, 2024 @07:43PM (#42346192)
I remember in school learning that technically speaking on Unix you could have the backspace character as part of your password too

But for the same reason with ^W and ^U I have no idea how you'd implement that in an interactive prompt without escaping

Re:Debian opens a can of username worms by doubled112 on Friday December 06, 2024 @12:12PM (#42341710)
Just having an apostrophe in my last name causes me issues.

Yes, that's me, Mr. O&Conner

Re:Debian opens a can of username worms by j-bos on Friday December 06, 2024 @07:48PM (#42346230)
As another nonascii character named individual who's lost hours of life calling service reps for companies that used my utf-8 name, I second this.
Re:Debian opens a can of username worms by zigzag312 on Saturday December 07, 2024 @11:13AM (#42350669)
I sometimes use this as a quick test of software quality. If it can't handle non-ascii characters in 2024, then it will probably be more trouble that it's worth.