Re: BUG?: Assigning a Perl script as user shell + sending commands on

This is a discussion on Re: BUG?: Assigning a Perl script as user shell + sending commands on within the OpenSSH Development forums, part of the Networking and Network Related category; On 2007-07-26 22:30, Brandon Simmons wrote: > You can see that what I type is taken as &...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2007
Jefferson Ogata
 
Posts: n/a
Default Re: BUG?: Assigning a Perl script as user shell + sending commands on

On 2007-07-26 22:30, Brandon Simmons wrote:
> You can see that what I type is taken as <STDIN> by the script, so I
> guess the output is stuck in a buffer somewhere. not sure if this is a
> bug in OpenSSH or a perl oddity. Or maybe I really shouldn't be
> setting my user's shell to be a script.


Have you tried setting autoflush on the output stream from your Perl script?

--
Jefferson Ogata <Jefferson.Ogata@noaa.gov>
NOAA Computer Incident Response Team (N-CIRT) <ncirt@noaa.gov>
"Never try to retrieve anything from a bear."--National Park Service
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0