X2Go Bug report logs - #1609
Unable to start an x2go session for a user with $ in the username

Package: libx2go-server-db-perl; Maintainer for libx2go-server-db-perl is X2Go Developers <x2go-dev@lists.x2go.org>; Source for libx2go-server-db-perl is src:x2goserver.

Reported by: Bart Janssens <bjanssens@inuits.eu>

Date: Wed, 12 Jul 2023 09:15:02 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, owner@bugs.x2go.org:
Bug#1609; Package perl-x2go-server-db. (Wed, 12 Jul 2023 09:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Bart Janssens <bjanssens@inuits.eu>:
New Bug report received and forwarded. Copy sent to owner@bugs.x2go.org.

Your message had a Version: pseudo-header with an invalid package version:

4.1.0.3-3.el7.x86_64

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Wed, 12 Jul 2023 09:15:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Bart Janssens <bjanssens@inuits.eu>
To: submit@bugs.x2go.org
Subject: Unable to start an x2go session for a user with $ in the username
Date: Wed, 12 Jul 2023 11:11:51 +0200 (CEST)
Package: perl-X2Go-Server-DB
Version: 4.1.0.3-3.el7.x86_64

Hello,

When trying to create a new session with a user that has a $ in their name the scripts fail at the point where the session is inserted into the database:
db_insertsession called, display: 50, server: server.name, session ID: bj-50-1688552459_stDXFCE_dp24
backend: sqlite
/usr/lib64/x2go/libx2go-server-db-sqlite3-wrapper
err: 

As can be seen the call to the wrapper does not return any response. When trying on the same machine with a user that does not have a $ in the username the wapper does insert the session correctly in the DB.

More OS information:
Linux server.name 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Cheers,
Bart Janssens


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and filed, but not forwarded. (Tue, 30 Jan 2024 15:10:02 GMT) (full text, mbox, link).


Message #8 received at 1609-quiet@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: 1609-quiet@bugs.x2go.org
Subject: Reassigning to proper package name
Date: Tue, 30 Jan 2024 16:08:56 +0100
Control: reassign -1 libx2go-server-db-perl

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243


Bug reassigned from package 'perl-x2go-server-db' to 'libx2go-server-db-perl'. Request was from Stefan Baur <X2Go-ML-1@baur-itcs.de> to 1609-quiet@bugs.x2go.org. (Tue, 30 Jan 2024 15:10:02 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1609; Package libx2go-server-db-perl. (Tue, 30 Jan 2024 15:15:01 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 30 Jan 2024 15:15:02 GMT) (full text, mbox, link).


Message #15 received at 1609@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: 1609@bugs.x2go.org
Subject: Location of Dollar Sign
Date: Tue, 30 Jan 2024 16:11:58 +0100
Hi Bart,

is that dollar sign located at the beginning, in the middle, or at the 
end of the user name?

man 8 useradd states (emphasis mine):

"It is usually recommended to only use usernames that begin with a lower 
case letter or an underscore, followed by lower case letters, digits, 
underscores, or dashes. They can *end* with a dollar sign. In regular 
expression terms: [a-z_][a-z0-9_-]*[$]?"

Kind Regards,
Stefan Baur

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue May 28 01:53:13 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.