[X2Go-Dev] Arguable bug: usernames starting with digits

Norman Gray gray at nxg.name
Wed Oct 25 02:34:57 CEST 2017


Greetings.

On 24 Oct 2017, at 22:48, Norman Gray wrote:

> It may be that _some_ unixes deem a username which starts with a digit 
> to be invalid, but it's clearly not universal.  I'm not aware of any 
> current unix where this is the case.

And a further point, obvious in retrospect: by the time this code is 
being run, the user has already authenticated to the system, with the 
given username.  Thus the username in question -- whatever its format, 
irrespective of any standards -- is necessarily a valid one, which 
therefore surely needs no more validation by the x2go code.

It may be that x2go needs to normalise the name for its own reasons, but 
as far as I can see it has no grounds for rejecting it.

Best wishes,

Norman


-- 
Norman Gray  :  https://nxg.me.uk


More information about the x2go-dev mailing list