On Mon, June 23, 2008 15:14, ciracusa wrote:
> Diego Fdez. Durán wrote:
>> Buenas tardes,
>>
>>  sustituye el ejecutable de telnet para los usuarios que quieras
>> controlar
>> con un script que ejecute lo siguiente en lugar de telnet:
>>
>>  script -c "telnet myhost.domain.com" /tmp/output.log

El script sería algo así como:

 #!/bin/bash
 script -c "telnet $@" /tmp/output.log


>>
>>  Espero que te sirva de algo.
>>
>> On Mon, June 23, 2008 01:18, ciracusa wrote:
>>
>>> Buenas Lista.
>>>
>>> Un usuario se tiene que conectar remotamente -via ssh- a un server
>>> linux
>>> con presencia en internet y luego hacer telnet a un host unix (dentro
>>> de
>>> la red).
>>>
>>> Pregunta:
>>>
>>> Alguien conoce alguna modificación de telnet para que cuando este
>>> "dentro del linux" y haga telnet al host unix se guarden todos los
>>> comandos que introduzca?
>>>
>>> Digo, supongamos que en el Unix no tuviera el history, es posible saber
>>> que comandos disparo desde el linux?
>>>
>>>
> Diego, lo voy a probar pero que hace esto?

de la página de man de script:

 script makes a record of everything printed on your  screen.
     The record is written to filename. If no file name is given,
     the record is saved in the file typescript.

>
> Muchas Gracias.
>
> Salu2.
>
>
>

Me alegra ser de ayuda.

PD.- Cuando respondas, agrega a la lista en el CC.
-- 
Diego Fdez. Durán <[EMAIL PROTECTED]> | http://www.goedi.net
GPG : 925C 9A21 7A11 3B13 6E43 50DB F579 D119 90D2 66BB


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a