Displaying 2 results from an estimated 2 matches for "myperlscript".
2007 Jul 26
2
BUG?: Assigning a Perl script as user shell + sending commands on ssh connect
Hi,
This is sort of a strange issue. But I am experimenting with ways to
have a user log in and be presented with a perl script to interact
with. When I do either or both of the following:
1) set the user's shell to /usr/bin/myperlscript
2) specify ForceCommand /usr/bin/myperlscript, applied to my user
...I get strange behavior when a command is appended to the client
connect command in this way:
ssh -l user 192.168.1.2 ls /etc
The output from the perl script is not printed immediately but waits
for a carriage return...
2006 Feb 09
1
Possible for Asterisk to output CLID to invo ke 3rd party app?
Specifically:
exten => s,1,System(/usr/sbin/myperlscript.pl ${CALLERIDNUM})
will execute myperlscript.pl with the caller id as an argument as the first
priority.
hth
-----Original Message-----
From: C F [mailto:shmaltz@gmail.com]
Sent: Thursday, February 09, 2006 4:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asteri...