On 2012-11-08 16:36, Ralf Hemmecke wrote:
But... I've seen a new x2gouser account on the server. Why do you need this?
Furthermore, are there (and I'm pretty sure there are) any processes that must be run as root or x2gouser after installation? If yes, which are they and do you see a reason which prevents these processes from being run as the user that comes from x2goclient?x2gouser
As x2go supports multi server installations, too, there is a central database managing the sessions. For single-host installations this is done using a sqlite database owned by x2gouser. It is accessed using the sbit-mechanism.
Are there any real needs for a root user in x2go's server setup or does this just happen by convenience for the developers?
No, there is none. This is only due to the convenience having the same interface for multi-server as well as local installations. And it's also part of the legacy, that x2go used sudo a long time ago (which was a huge security issue). Writing a database interface which saves settings in your home should not be too much work. From there on it 98% adjusting the paths.
Cheers Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty