[debian-edu-commits] debian-edu/pkg-team/ 60/159: Do not use xrdp user

Dominik George natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:25 UTC 2016


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

natureshadow-guest pushed a commit to branch master
in repository xrdp.

commit 9cae55d3758083b92e49e97158c5d22a9750c710
Author: Dominik George <nik at naturalnet.de>
Date:   Fri Aug 7 12:03:48 2015 +0200

    Do not use xrdp user
    
    This is a leftover from when xrdp used Xvnc as backend. Since it now
    uses vanilla X.org, it is subject to xauth handling and the like, which
    requires either root or insane messing around with user-local
    configuration that might affect stuff xrdp does not have to care about.
---
 xrdp.postinst | 5 -----
 xrdp.postrm   | 3 ---
 2 files changed, 8 deletions(-)

diff --git a/xrdp.postinst b/xrdp.postinst
index 0e63d25..dea9f16 100644
--- a/xrdp.postinst
+++ b/xrdp.postinst
@@ -24,11 +24,6 @@ set -e
 
 case $1 in
 configure)
-	getent passwd xrdp >/dev/null 2>&1 || adduser \
-	    --quiet --system --group --no-create-home \
-	    --disabled-password --disabled-login \
-	    --home /var/run/xrdp xrdp
-
 	if dpkg --compare-versions "$2" lt '0.4.0~dfsg-7'; then
 		rm -f /etc/xrdp/rsakeys.ini
 	fi
diff --git a/xrdp.postrm b/xrdp.postrm
index dd28c17..59d1780 100644
--- a/xrdp.postrm
+++ b/xrdp.postrm
@@ -28,9 +28,6 @@ remove)
 purge)
 	rm -rf /etc/xrdp /var/run/xrdp
 	rm -f /var/log/sesman.log /var/log/xrdp-sesman.log
-
-	(deluser --system --quiet xrdp || :)
-	(delgroup --system --quiet xrdp || :)
 	;;
 
 upgrade|disappear|failed-upgrade|abort-install|abort-upgrade)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git



More information about the debian-edu-commits mailing list