On Sat, May 27, 2017 at 09:49:49PM +0200, Thomas Goirand wrote:
> On 05/27/2017 01:48 AM, Geert Stappers wrote:
> >> On 05/25/2017 10:59 AM, Geert Stappers wrote:
> >>> Both http://mlmmj.org/docs/readme-exim4/ and 
> >>> http://mlmmj.org/docs/readme-postfix/
> >>> say to create a mlmmj user.
> > 
> > Those who want to use that mlmmj user will benefit from the "postinst 
> > adduser".
> 
> But those who don't will have a useless user setup *every time* the
> package is upgraded.

Code from the patch, note the 'if' statement

+       # Create dedicated mlmmj user
+        if ! getent passwd mlmmj > /dev/null; then
+            adduser --system --quiet \
+               --home /var/spool/mlmmj --no-create-home \
+               --shell /bin/false --ingroup mlmmj \
+                --gecos "Mailing List Management Made Joyful" \
+                mlmmj
+        fi


That 'if' statement makes
> But those who don't will have a useless user setup *every time* the
> package is upgraded.
into
} But those who don't will have a useless user setup


Right now we are talking about entries in /etc/passwd and /etc/group
that _might not_ be used.

Could we go back to /etc/passwd /etc/group entries
that _are_ being used?



Groeten
Geert Stappers
-- 
Leven en laten leven

Reply via email to