timkb4cq / mx-user

Simple user configuration for MX
Apache License 2.0
2 stars 10 forks source link

Nev version fails to create new user properly. #24

Open Mi605 opened 4 months ago

Mi605 commented 4 months ago

Most recent version fails to create new users properly. This can be reproduced.

Benutzerverwaltung
Simple user configuration for antiX linux
Version: 2024.06.15
antix-user:
  Installiert:           2024.06.15
  Installationskandidat: 2024.06.15
  Versionstabelle:
 *** 2024.06.15 500
        500 http://ftp.halifax.rwth-aachen.de/mxlinux/packages/antix/bookworm bookworm/main amd64 Packages
        100 /var/lib/dpkg/status

After creating the new user it is not possible to login with this very user from login screen.

Precisely this works fine as long not upgrading from the former version:

Benutzerverwaltung
Einfache Benutzerkonfigurierung für antiX Linux
Version:2023.07.08
$ apt-cache policy antix-user
antix-user:
  Installiert:           2023.07.08
  Installationskandidat: 2024.06.15
  Versionstabelle:
     2024.06.15 500
        500 http://ftp.halifax.rwth-aachen.de/mxlinux/packages/antix/bookworm bookworm/main amd64 Packages
 *** 2023.07.08 100
        100 /var/lib/dpkg/status

Immediately after installing the new package version on a system the login fails for new users, while it still works for all users created with the former version of antix-user on the very system. No other packages have been upgraded the same time to make sure no other possible origin of the issue is drawn into here.

Additional remark: There are several translations missing in the new version. Untranslated strings show up e.g. in popup windows.

Tested on antiX 23.1 and 23.2, both full runit, and 64 and 32 bit both, Live.

Mi605 commented 4 months ago

Additional pieces of information and steps to reproduce:

Create a testuser1 with the executable from version 2024.06.15 on an antiX 23.2 testing system or antiX 23.1 fully apt-upgraded system, Live or frugal install. (Not sure whether the issue is also present in default installed systems.)

$ md5sum '/usr/bin/antix-user' a5b4ca22f824d2460bd7531a15697abf /usr/bin/antix-user

replace the executable file in /usr/bin/ (and nothing besides this) by the file version found in package version 2023.07.08

$ md5sum '/usr/bin/antix-user' 11e25afd534f370b486c3e8af03ef8cc /usr/bin/antix-user

Create a testuser2 with this old executable on the very same system.

Logoff and try logon in gui. You can not login with testuser1 You can perfectly login with testuser2

After replacing the executables again against each other, so the new version is in use again, new users created by this tool can't login any longer. All users created by the former version executable have no issues.