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

Ανοιχτό
ανοίχτηκε 6 έτη πριν από MicheleC · 7 σχόλια
MicheleC σχολίασε 6 έτη πριν
Ιδιοκτήτης

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 ορόσημο 6 έτη πριν
MicheleC πρόσθεσε τη σήμανση SL/major 6 έτη πριν
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 έτος πριν
MicheleC αναφορά σε αυτό το ζήτημα από την παραπομπή 5 μήνες πριν
MicheleC αναφορά σε αυτό το ζήτημα από την παραπομπή 5 μήνες πριν
Συνδεθείτε για να συμμετάσχετε σε αυτή τη συνομιλία.
Χωρίς Ορόσημο
Χωρίς Αποδέκτη
2 Συμμετέχοντες
Ειδοποιήσεις
Ημερομηνία Παράδοσης

Δεν ορίστηκε ημερομηνία παράδοσης.

Εξαρτήσεις

Δεν έχουν οριστεί εξαρτήσεις.

Αναφορά: TDE/tdebase#22
Φόρτωση…
Δεν υπάρχει ακόμα περιεχόμενο.