This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gobroker. from cd7b19e x2gobroker-agent: fix interpretation of findbusyservers output new 1c61a5b x2gobroker/agent.py: improve error message new 32e3527 For user context changes: set the HOME dir of the new user correctly. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 1 + x2gobroker/agent.py | 2 +- x2gobroker/utils.py | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker. commit 32e3527fc1f2b3492d50ecd0c72ccbe8868c5331 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Mar 19 12:46:01 2014 +0100 For user context changes: set the HOME dir of the new user correctly. --- debian/changelog | 1 + x2gobroker/utils.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a9b3ccb..99d9efe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -102,6 +102,7 @@ x2gobroker (0.0.3.0-0x2go1) UNRELEASED; urgency=low - Allow for broker clients to send in public SSH keys that the client may use for authentication to X2Go Servers. - broker agent: avoid one option system() calls in Perl. + - For user context changes: set the HOME dir of the new user correctly. * debian/control: + Replace LDAP support with session brokerage support in LONG_DESCRIPTION. + Fix SYNOPSIS texts. diff --git a/x2gobroker/utils.py b/x2gobroker/utils.py index 0d8af2c..8baaed4 100644 --- a/x2gobroker/utils.py +++ b/x2gobroker/utils.py @@ -188,4 +188,7 @@ def drop_privileges(uid, gid): os.setuid(running_uid) # Ensure a very conservative umask - old_umask = os.umask(077) \ No newline at end of file + old_umask = os.umask(077) + + # set the new user's home directory as $HOME + os.environ['HOME'] = pwd.getpwnam(uid).pw_dir -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker. commit 1c61a5b2d844bb9aec458b39c410c95718ed3481 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Mar 19 12:45:58 2014 +0100 x2gobroker/agent.py: improve error message --- x2gobroker/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2gobroker/agent.py b/x2gobroker/agent.py index acc6e07..f198ce1 100644 --- a/x2gobroker/agent.py +++ b/x2gobroker/agent.py @@ -127,7 +127,7 @@ def call_remote_broker_agent(username, mode, cmdline_args=[], remote_agent=None) """ if remote_agent is None: - logger_error.error('With the SSH agent-query-mode remote agent (hostname, port) has to be specified!') + logger_error.error('With the SSH agent-query-mode a remote agent host (hostname, port) has to be specified!') cmd_line = [ '{x2gobroker_agent_binary}'.format(x2gobroker_agent_binary=x2gobroker.defaults.X2GOBROKER_AGENT_CMD), -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git