Hi! Done, thanks! -- Sincerely yours, Yury V. Zaytsev
On Fri, 2010-05-07 at 12:23 +0300, Catalin Bucur wrote: > Hello, > > > There is a problem with nagios-3.2.1-1.el5.rf.i386.rpm package, the > "usermod" command delete user 'apache' from all groups and insert it > only in 'nagios' si 'nagioscmd' groups. > > The "usermod" command should have "-a" switch enabled. Below I created a > diff file between original version and the correct version for nagios.spec: > > --- nagios.spec.orig 2010-05-07 11:55:36.000000000 +0300 > +++ nagios.spec 2010-05-07 11:58:19.000000000 +0300 > @@ -145,7 +145,7 @@ > > if /usr/bin/id apache &>/dev/null; then > if ! /usr/bin/id -Gn apache 2>/dev/null | grep -q nagios ; then > - /usr/sbin/usermod -G nagios,nagiocmd apache &>/dev/null > + /usr/sbin/usermod -a -G nagios,nagiocmd apache &>/dev/null > fi > else > %logmsg "User \"apache\" does not exist and is not added to group > \"nagios\". Sending commands to Nagios from the command CGI is not > possible." > > As I saw, the is no correction in svn version of this file, so please > apply this modification. > > > > Thank you, _______________________________________________ suggest mailing list [email protected] http://lists.rpmforge.net/mailman/listinfo/suggest
