Thanks Mathew,

> Michael Lake wrote:
> > /etc/hosts.allow
> >         in.telnetd: abc.de.fg.56 : echo "Host %h trying daemon %d"
> > | mail mikel &
> 
> Try:
> in.telnetd: abc.de.fg.56 : spawn (echo "Host %h trying daemon %d" | mail
> mikel)

That solved the prob. I am now gettingmail notification of
successful logins to my Linux box. I can now move that to
hosts.deny and append to the ALL:ALL

Tom burkart wrote:
> On Thu, 7 Dec 2000, Michael Lake wrote:
> >       in.telnetd: abc.de.fg.56 : echo "Host %h trying daemon %d"
> > | mail mikel &
> I think it is something like:
> in.telnetd: .... : exec "echo .... "

Same prob. I gather that it needs a 'single' shell command
rather than a styring of shell commands even if they are
quoted.

> > Prob 2 on IRIX
> > --------------
> > hosts.allow on the IRIX box needs to contain an ALL : LOCAL

> LOCAL is an alias for localhost if I remember correctly
yep. and it is catching my Linux box but I dont want all
local machines. I just want three specific machines. 
> 
> > to allow my Linux box in. If I just have the line
> > "in.telnetd <ip addr of linux box>" it won't let me in.
> in.telnetd: <ip addr>
> 
> > The logs on the IRIX say connectiion refused from <name of
> > my linux box> so it is resolving the address. Makes no diff
> > if I use name, FQDN or ip address of the linux box. Still
> > refuses me.
> the colon was missing

Checked. My spelling here on this email was bad. The
hosts.allow HAS the colon. Its 
telnetd: <ip addr>
It wont let me in. Are there other ways I can debugg whats
happening? It may be an IRIX specific problem.
 
Mike
-- 
--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02
9514 1628 
URL: http://www.science.uts.edu.au/~michael-lake/
Linux enthusiast, active caver and interested in anything
technical.
--------------------------------------------------------------------


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to