The run-reports.sh script does not obey the username
information in nmis.conf -- this patch fixes that. I
am a bit concerned that 'id -gn' is not portable
enough. If that is the case, it may be better to
simply rewrite this as Perl. My patch also has a
simplification on the "day" case statement and added
exit statements for parameter errors.
Logged In: YES
user_id=29098
NOTE - there is a bug in my patch! The initial assignment
of the username and groupname should use the ':-' operator
and not the '-' operator (e.g., should look like
username=${username:-nmis}).
Regards,
Mark