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

Re: Log on as root. warning



On Wed, 30 Apr 2003 23:11, Rob Weir wrote:
> On Wed, Apr 30, 2003 at 01:32:12AM +0200, David Jardine wrote:
> > On Wed, Apr 30, 2003 at 03:28:37AM +1000, bob parker wrote:
> > >                                                the problem with logging
> > > in as root means that everything you do is done silently.
> > >
> > > When you `sudo whatever command` your actions will be logged, so if you
> > > do stuff anything you can view the logs to see what you did.
> >
> > Is this something more than bash_history?
>
> Yes.  It goes to /var/log/auth.log.
>
> > > I use logcheck with the output mailed to me. Everything I do with
> > > sudo comes back to me for review.
> >
> > Did you have to set this up specially?  I don't remember others
> > mentioning it in this thread as the great advantage of doing it the
> > proper way.  And since the point seems to be that logging in as root
> > has the potential to blow your system to smithereens, reading how it
> > was done wouldn't be all that much of a consolation.
>
I know very little about configuring the logging activity so I did nothing to 
make logcheck report my sudo activities back to me.

It just worked that way by default.

Of course you have to tell it who to mail to when you install it.

Just apt-get install logcheck

HTH
Bob Parker



Reply to: