==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=5539

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

--- Comment #20 from Unnilennium <[email protected]> ---
this last bug you pointed is linked to /etc/init.d/nagios-sme


/usr/sbin/usermod -G www nagios
/usr/sbin/usermod -G nagios,nagioscmd www


this last one erase all otheroccurence of www in group...

maybe previous way of working was to add theses groups, but it erase from non
cited groups...



I suggest
/usr/sbin/usermod -G www nagios
listgroup=`groups www| sed 's/^.*: //g'|sed 's/ /,/g'`;
if [[ ! $listgroup == *nagios* ]]
then
listgroup=$listgroup ",nagios,nagioscmd";
fi
echo $listgroup;
/usr/sbin/usermod -G $listgroup www

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to