Hi, Ok. I can't do this script in perl ? Why I do I need bash ?? Thank's Again, Glists Mihai LEONTESCU wrote: > It's quite simple : > you build a script (you can build something to look like command > interpreter) and you place it in /etc/inetd.conf like any service you have > to specify the port in /etc/services also > restart inetd (killall -HUP inetd) > > first build a bash script to get used ... after that, build a perl script > > My advice for you is to be carefull if that script has as owner root. That > is a major hole in the system. > To be sure, install a firewall on that port and make it accesible only from > the locations you want to use it, or else you'll have major problems :) > > regards, > > Mihai Leontescu > http://misu.bv.ro > Remember that the enemy is listening... > ----- Original Message ----- > From: glists <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > <[EMAIL PROTECTED]> > Sent: Monday, July 31, 2000 9:18 PM > Subject: Running scripts on a linux port > > > Hello All, > > > > > > I'm trying to run a perl script at a port. I've opened the port like > > "telnet localhost 1817" > > and I type a command line, when I type Enter my connection is lost (I've > > used > > $variable = <STDIN>). How can I put mutiple commands and quit with a > > programed > > command ? > > > > Any help ? > > > > > > Thank's in advance, > > Glists. > > > > -====---====---====---====---====---====---====---====---====---====---=== > =- > > to unsubscribe email "unsubscribe linux-admin" to > [EMAIL PROTECTED] > > See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/ > >