[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-105-gd27954d

X2go dev team git-admin at x2go.org
Mon Jul 18 23:05:23 CEST 2011


The branch, master has been updated
       via  d27954d6120ebe87283f71773c373a29497aad01 (commit)
      from  c4291bc6c352257d466d151a53a3b42cc3b799a9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d27954d6120ebe87283f71773c373a29497aad01
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jul 18 23:05:03 2011 +0200

    make sure the x2gouser has correct home dir and shell

-----------------------------------------------------------------------

Summary of changes:
 debian/x2goserver.postinst |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/x2goserver.postinst b/debian/x2goserver.postinst
index c604621..06f153b 100755
--- a/debian/x2goserver.postinst
+++ b/debian/x2goserver.postinst
@@ -38,7 +38,10 @@ case "$1" in
 			        --shell /bin/false --group --home /var/db/x2go x2gouser
 		else
 			echo "User x2gouser already exists." >&2
-			id -g --name "x2gouser" | grep "x2gousers" >/dev/null && usermod x2gouser -g x2gouser
+			# make sure all settings are appropriate
+			id -g --name "x2gouser" | grep "x2gousers" >/dev/null && usermod x2gouser --gid x2gouser
+			usermod x2gouser --home /var/db/x2go
+			usermod x2gouser --shell /bin/false
 		fi
 
 		if [ ! -f /var/db/x2go/x2go_sessions ]; then


hooks/post-receive
-- 
x2goserver.git (X2go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).




More information about the x2go-commits mailing list