[X2Go-Dev] Bug#611: Bug#611: X2Go Client for Windows cannot create C:\Users\<username>\ssh\known_hosts file when the username has characters from languages other than the system locale
Stefan Baur
X2Go-ML-1 at baur-itcs.de
Fri Nov 7 00:39:12 CET 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 06.11.2014 um 15:04 schrieb cwe:
> Is it possible to "echo <username> | md5sum"? In this way all
> input will be converted to UTF-8. Finally the path will look
> something like
> c:\Users\0ffc01acb1953149574dd9f3a4f8a662\ssh\known_hosts.
>
> Or will this lead to inconsistency?
This will cause severe breakage.
C:\Users is the system-wide folder for Windows user's individual home
directories, corresponding to /home/ on a Linux system.
Every single Windows application will expect to find user files in
C:\Users\<username>\somesubdir.
Your suggestion is akin to creating a directory
/home/<md5hashofusername>/somesubdir on a Linux system - *in parallel*
to the regular user homedirectory /home/<username>.
This probably wouldn't even work because no ordinary user should have
write permission in C:\Users\ (like in /home/), only in the
subdirectory <username>, so the attempt to create that folder
<md5hashofusername> would fail due to lack of permissions.
So no, please don't do that.
- -Stefan
- --
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUXAafAAoJEG7d9BjNvlEZEpIH/2phljfuso8HKolrBN4L1Hjj
emIV2lrMpxtLZVAJFHWOigRDOzu5/n8swWJLt/XRetRIdcm+tQMc7zeYhff24qzR
ypEjqEBTFwbzcRitSzHmbrelprl7gZyCrNTKLUxycxYqg5balIkEnVyFt7ezPWK+
3d6bRWK6NnO8yqONoF5YBEsnH0Uw48GKGfDGi6ND6m0fXiBI0HlO8QYvDpXlvcbY
OjhAuV2smsfFm1wGCmoOXvZJ66Tf/I2/Iy5nMb+OUBNix0Mon9kPRFd1kitm+V5Z
bUoLkR68djwoXX5OlXpnBnNul4EzAdKv2Z4dpkORjWxJSWoE9aTr4gTlKNHeeyE=
=gqED
-----END PGP SIGNATURE-----
More information about the x2go-dev
mailing list