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

Re: very simple tcpd replacement



Kalle Olavi Niemitalo <tosi@ees2.oulu.fi> wrote:
> It won't work. The filename of the real server is passed to tcpd in
> argv[0] which is lost in "#!" execution.

The executable name is not lost:

#!/bin/perl
print "$ARGV0\n";

[But I understand that real tcpd is available.]

-- 
Raul


Reply to: