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

Re: naive user



On Mon, 15 Mar 1999, Navindra Umanee wrote:

> Montreal Mon Mar 15 19:03:54 1999
> 
> A long while ago, I recompiled my /usr/sbin/tcpd so that it properly
> does IDENT lookups on all connections and I replaced my old
> /usr/sbin/tcpd with the newly compiled one.
> 
> Relatively recently, I upgraded to Hamm and naturally, netbase was
> upgraded including my custom compiled tcpd.  It's only today that I
> noticed that I was losing attack information and so I had to recompile
> my tcpd and replace it.
> 
> Is there a better way to handle this sort of thing?  Being a naive
> user I simply copied over the default Debian binary and forgot all
> about it but I hear rumours that in those in the BSD world have a
> clean way of handling such things.

The clean way to do this is to put all your customised programs under
/usr/local/. In the case of tcpd, you should of course edit
/etc/inetd.conf so inetd uses the customised tcpd. In general,
/usr/local/bin should be one of the first directories in the PATH, before
/usr/bin and /bin.

Files under /usr (except everything under /usr/local) will be overwritten
without warning if you upgrade your system.

Remco
-- 
rd31-144:  1:40am  up 2 days,  8:03,  5 users,  load average: 1.03, 1.11, 1.14


Reply to: