TDElaucher crashes after login if username has special characters in it. #22

Відкрито
5 роки тому відкрито MicheleC · 7 коментарів
MicheleC прокоментував(ла) 5 роки тому
Власник

Basic information

  • TDE version: R14.1.0-dev
  • Distribution: debian buster
  • Hardware: amd64

Description

This is a follow on from bug 2961.

If the username contains special characters (umlaut, accents, ...), after starting the session the user ends up with an empty unusable desktop.

Steps to reproduce

  1. Create a user with special characters in the name
  2. Login from TDM
  3. Observe crashes and unusable desktop result (note, TDE Personalizer will still run the first time)
## Basic information - TDE version: R14.1.0-dev <!-- such as R14.0.5 --> - Distribution: debian buster <!-- such as Debian 9 or Debian Stretch --> - Hardware: amd64 <!-- amd64 / i386 / armhf / ... --> <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description This is a follow on from bug [2961](https://bugs.pearsoncomputing.net/show_bug.cgi?id=2961). If the username contains special characters (umlaut, accents, ...), after starting the session the user ends up with an empty unusable desktop. ## Steps to reproduce 1. Create a user with special characters in the name 2. Login from TDM 3. Observe crashes and unusable desktop result (note, TDE Personalizer will still run the first time)
MicheleC додав(ла) до R14.1.0 release етапу 5 роки тому
MicheleC додано SL/major з міткою 5 роки тому
deloptes прокоментував(ла) 4 роки тому
Співавтор

useradd does not care, but adduser does care about special characters

# adduser schnöller
adduser: To avoid problems, the username should consist only of
letters, digits, underscores, periods, at signs and dashes, and not start with
a dash (as defined by IEEE Std 1003.1-2001). For compatibility with Samba
machine accounts $ is also supported at the end of the username

seems I can not create a user with such characters easily and is rather exotic use case

useradd does not care, but adduser does care about special characters ``` # adduser schnöller adduser: To avoid problems, the username should consist only of letters, digits, underscores, periods, at signs and dashes, and not start with a dash (as defined by IEEE Std 1003.1-2001). For compatibility with Samba machine accounts $ is also supported at the end of the username ``` seems I can not create a user with such characters easily and is rather exotic use case
MicheleC прокоментував(ла) 4 роки тому
Автор
Власник

Thanks Emanoil, I agree it is probably not a very common situation, but definitely possible. Perhaps this should not be marked as "major".

Thanks Emanoil, I agree it is probably not a very common situation, but definitely possible. Perhaps this should not be marked as "major".
MicheleC видалено SL/major з міткою 4 роки тому
deloptes прокоментував(ла) 4 роки тому
Співавтор

Hi,
not only this - how can it be reproduced?
And 2961 talks about characters in password while this issue talks about username

Hi, not only this - how can it be reproduced? And 2961 talks about characters in password while this issue talks about username
MicheleC прокоментував(ла) 4 роки тому
Автор
Власник

I did test long ago. I think I created a user in CLI first. I can login to CLI without problems, but when logging in into TDE all sort of missing things happens.

As for 2961, the password problem has already been fixed. This issue is a spinoff/generalization of that.

I did test long ago. I think I created a user in CLI first. I can login to CLI without problems, but when logging in into TDE all sort of missing things happens. As for 2961, the password problem has already been fixed. This issue is a spinoff/generalization of that.
deloptes прокоментував(ла) 4 роки тому
Співавтор

OK - understood. How long ago? I recall in the past few years a lot around UTF-8 changed.

May be I will try to test it again when time allows.

OK - understood. How long ago? I recall in the past few years a lot around UTF-8 changed. May be I will try to test it again when time allows.
MicheleC прокоментував(ла) 4 роки тому
Автор
Власник

Hi Emanoil, I did the test at the time when I reported this bug.

I repeated the test today and I got the same result.

You can use KUser to create a user with accented characters. You can verify you can login from CLI without issues, but if you try to login to TDE you will end up with a broken KDesktop.

Hi Emanoil, I did the test at the time when I reported this bug.<br/> I repeated the test today and I got the same result. You can use KUser to create a user with accented characters. You can verify you can login from CLI without issues, but if you try to login to TDE you will end up with a broken KDesktop.
MicheleC прокоментував(ла) 3 роки тому
Автор
Власник

Bug 3188 also relates to the same problem.

Bug [3188](https://bugs.pearsoncomputing.net/show_bug.cgi?id=3188) also relates to the same problem.
SlavekB змінено цільової етап з R14.1.0 release на R14.1.x 1 рік тому
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає виконавця
2 учасників
Сповіщення
Дата завершення

Термін виконання не встановлений.

Залежності

No dependencies set.

Reference: TDE/tdebase#22
Завантаження…
Тут ще немає жодного змісту.