Collin Funk wrote:
> Also, another I noticed. If you use a username with multibyte-characters
> (which seem like a bad idea to me, but I suppose nothing stops you from
> using one) pinky doesn't behave correctly. See the following example:
>
> $ grep -F test-user /etc/passwd
> test-user:x:1001:1001:ab&cd:/usr/share/empty:/bin/bash
> $ pinky -l test-user
> Login name: test-user In real life: abTest-usercd
> Directory: /usr/share/empty Shell: /bin/bash
>
> The first letter of the username can only be capitalized if it is ASCII:
>
> $ pinky -l Ɣtest-user
> Login name: Ɣtest-user In real life: abƔtest-usercd
> Directory: /usr/share/empty Shell: /bin/bash
>
> One would expect 'In real life: abĆtest-usercd'. Also the alignment
> doesn't account for character widths.
This is by far not the only problem with non-ASCII user names.
Debian tried to push ahead on this idea recently, but encountered major
problems [1][2].
Bruno
[1] https://wiki.debian.org/UserAccounts
[2] https://lwn.net/Articles/1000485/