[Git][java-team/tomcat8][master] Set the gecos field when creating the tomcat8 user

Emmanuel Bourg gitlab at salsa.debian.org
Thu Aug 9 00:11:18 BST 2018


Emmanuel Bourg pushed to branch master at Debian Java Maintainers / tomcat8


Commits:
6b59ee90 by Emmanuel Bourg at 2018-08-08T22:58:53Z
Set the gecos field when creating the tomcat8 user

- - - - -


2 changed files:

- debian/changelog
- debian/tomcat8.postinst


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ tomcat8 (8.5.32-2) UNRELEASED; urgency=medium
   * Updated the policy files in /etc/tomcat8/policy.d/
   * Added the missing Maven rules to use the 8.x generic version for
     tomcat-jaspic-api, tomcat-storeconfig and tomcat-util-scan
+  * Set the gecos field when creating the tomcat8 user
   * No longer set JSSE_HOME in the init script (JSSE is enabled by default)
 
  -- Emmanuel Bourg <ebourg at apache.org>  Tue, 07 Aug 2018 15:15:03 +0200


=====================================
debian/tomcat8.postinst
=====================================
--- a/debian/tomcat8.postinst
+++ b/debian/tomcat8.postinst
@@ -34,6 +34,7 @@ case "$1" in
 	if ! id $TOMCAT8_USER > /dev/null 2>&1 ; then
 	    adduser --system --home /var/lib/tomcat8 --no-create-home \
 		--ingroup "$TOMCAT8_GROUP" --disabled-password --shell /bin/false \
+		--gecos "Apache Tomcat" \
 		"$TOMCAT8_USER"
 	fi
 	chown -Rh $TOMCAT8_USER:adm /var/log/tomcat8 /var/cache/tomcat8



View it on GitLab: https://salsa.debian.org/java-team/tomcat8/commit/6b59ee90fdc08f7f20feea0110871ead394924f6

-- 
View it on GitLab: https://salsa.debian.org/java-team/tomcat8/commit/6b59ee90fdc08f7f20feea0110871ead394924f6
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20180808/3fb85136/attachment.html>


More information about the pkg-java-commits mailing list