- Don't remove the lightdm user/group on package removal. This fails if the
user is still in use and leaves the risk of another user being created
with the same UID. (LP: #924224)
+lightdm (1.15.3-0ubuntu3) wily; urgency=medium
+
+ * debian/lightdm.postrm:
+ - Don't remove the lightdm user/group on package removal. This fails if the
+ user is still in use and leaves the risk of another user being created
+ with the same UID. (LP: #924224)
+
+ -- Robert Ancell <robert.ancell@canonical.com> Wed, 26 Aug 2015 09:35:56 +0100
+
lightdm (1.15.3-0ubuntu2) wily; urgency=medium
* debian/lightdm.lightdm-greeter.pam:
rm -r /var/run/lightdm/authority
fi
- if getent passwd lightdm >/dev/null; then
- if [ -x /usr/sbin/deluser ]; then
- deluser --system lightdm
- fi
- fi
-
- if getent group lightdm >/dev/null; then
- if [ -x /usr/sbin/delgroup ]; then
- delgroup --system lightdm
- fi
- fi
-
- # we cannot use the --remove-home option when we delete the user above
- # because it will refuse to remove things in /var, so clean it up this
- # way
if [ -d /var/lib/lightdm ]; then
rm -r /var/lib/lightdm
fi