[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733595: false positive for maintainer-script-should-not-use-adduser-system-without-home



On 2013-12-30 7:59, Daniel Pocock wrote:
In my package reconserver, I have the following:

        adduser --system \
           --home "${RECONSERVER_HOME}" \
           --shell /bin/false \
           --no-create-home \
           --ingroup "$RECONSERVER_GROUP" \
           --disabled-password \
           --disabled-login \
           --gecos "reConServer daemon" \
               "$RECONSERVER_USER" || exit 1



Therefore, I believe the lintian report is a false positive, maybe
because the adduser command is split over multiple lines

Based on a bit of testing yesterday after another similar report, I believe the issue is actually due to the use of a variable for the home directory.

Regards,

Adam


Reply to: