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

Re: 19990604: running dostats as superuser



On Tue, 8 Jun 1999, Tom Priddy wrote:

> From:  Tom Priddy
> 
> Here's a new error that just came to me from superuser:
> 
> Your "cron" job
> 
> bin/ldmadmin newlog
> 
> produced the following output:
> 
> hupsyslog: kill -HUP 165: Permission denied

Tom,

I didn't login until today because of some urgent NOAAport tasks. Here's
what I found out:

- Your hupsyslog and rpc.ldmd are no longer running as setuid root.  To
fix this, login as root

% cd ~ldm/ldm-5.0.5/src
% make install_setuids

That's it, this will fix the hupsyslog problem

- Your /etc/syslog.conf file should be modified so messages don't also go
to /var/messages and console

Change:

*.err;kern.notice;auth.notice;user.none         /dev/console
*.err;kern.debug;daemon.notice;mail.crit;user.none      /var/adm/messages 

to this:

*.err;kern.notice;auth.notice;user.none;local0.none         /dev/console
*.err;kern.debug;daemon.notice;mail.crit;user.none;local0.none 
/var/adm/messages 

Remember the white space is a tab

I ran bin/ldmadmin dostats from the command line with no problem. Maybe it
was related to something else.
> 
> Is it possible that I've had a hacker????

It's strange that the hupsyslog and rpc.ldmd where changed from root to
user ldm.  Don't know how that could of happened.

Robb...

> 
> Robb Kambic wrote:
> 
> > On Fri, 4 Jun 1999, Unidata Support wrote:
> >
> > >
> > > ------- Forwarded Message
> > >
> > > >To: Unidata Support <address@hidden>
> > > >From: Tom Priddy <address@hidden>
> > > >Subject: [Fwd: Output from "cron" command]
> > > >Organization: .
> > > >Keywords: 199906041721.LAA22626
> > >
> > > From:  Tom Priddy
> > >
> > > I keep getting this cron output concerning ldmadmin dostats.
> > > But I have not change anything since I swhiched to Northern
> > > Ill Univ's feed.  Any ideas?/ktp
> > >
> > > Super-User wrote:
> > >
> > > > Your "cron" job
> > > >
> > > > bin/ldmadmin dostats
> > > >
> > > > produced the following output:
> > > >
> > > > sh: bin/ldmadmin: not found
> > >
> > Tom,
> >
> > Here's a couple things I would check:
> >
> > - If  the dostats is running as root, then is LDMHOME in the root path?
> >   If not then change "bin/ldmadmin dostat" to a the absolute path, similar
> >   to   "/usr/local/ldm/bin/ldmadmin dostats"
> >
> > - If running as user ldm, is ~ldm/bin in the LDM path ie, echo $PATH
> >
> > - Check that the location of perl is correct in the 1st of ldmadmin and
> >   mailpqbinstats.
> >
> > Robb...
> >
> > > --
> > > ============================================================
> > > Tom Priddy                                address@hidden
> > > Extension Ag. Meteorologist          ph:  606-257-3000ext245
> > > Ag. Weather Center                  fax:  606-257-5671
> > > 243 Ag. Engineering Bldg
> > > Dept. of Biosystems and Ag. Engr.
> > > University of Kentucky
> > > Lexington, KY 40546-0276
> > > HOMEPAGE   http://wwwagwx.ca.uky.edu
> > > ============================================================
> > >
> > >
> > >
> > > ------- End of Forwarded Message
> > >
> >
> > ===============================================================================
> > Robb Kambic                                Unidata Program Center
> > Software Engineer III                      Univ. Corp for Atmospheric 
> > Research
> > address@hidden                   WWW: http://www.unidata.ucar.edu/
> > ===============================================================================
> 
> --
> ============================================================
> Tom Priddy                                address@hidden
> Extension Ag. Meteorologist          ph:  606-257-3000ext245
> Ag. Weather Center                  fax:  606-257-5671
> 243 Ag. Engineering Bldg
> Dept. of Biosystems and Ag. Engr.
> University of Kentucky
> Lexington, KY 40546-0276
> HOMEPAGE   http://wwwagwx.ca.uky.edu
> ============================================================
> 
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================