[X2Go-Commits] [x2goserver] 01/01: Create system user x2gouser with $HOME in /var/lib/x2go.

git-admin at x2go.org git-admin at x2go.org
Mon Jan 12 05:34:58 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch release/4.0.1.x
in repository x2goserver.

commit f800b36e71347c396551d8851a21edaf73fb3999
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jan 12 05:33:50 2015 +0100

    Create system user x2gouser with $HOME in /var/lib/x2go.
---
 debian/changelog |    1 +
 x2goserver.spec  |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3f4fae1..da3d137 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -96,6 +96,7 @@ x2goserver (4.0.1.19-0x2go1) UNRELEASED; urgency=medium
       for non-X2Go directories. (Fixes: #676).
     + Remove macro call %systemd_pre for Fedora/EPEL-7 builds. No such macro in
       Fedora/RHEL7. (Fixes: 698).
+    + Create system user x2gouser with $HOME in /var/lib/x2go. (Fixes: #697).
 
   [ Matthew L. Dailey ]
   * New upstream version (4.0.1.19):
diff --git a/x2goserver.spec b/x2goserver.spec
index 1911406..b508916 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -335,7 +335,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/x2gofm.desktop
 %pre
 getent group x2gouser >/dev/null || groupadd -r x2gouser
 getent passwd x2gouser >/dev/null || \
-    useradd -r -g x2gouser -d %{_localstatedir}/x2go -s /sbin/nologin \
+    useradd -r -g x2gouser -d %{_localstatedir}/lib/x2go -s /sbin/nologin \
     -c "x2go" x2gouser
 exit 0
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list