Kann mir jemand verraten, was der Befehl rexec macht ?
Ich habe keine rexec manpage, aber ich schätze, es steht für "remote execute", was aber dann das gleiche wie rsh wäre (so wie rsh auch der passendere Name für rlogin wäre ?!)
rexec vs. rsh
Re: rexec vs. rsh
rexec -- remote execution client for an exec server
Usage: rexec [ -abcdhns ] -l username -p password host command
-l username: Sets the login name for the remote host.
-p password: Sets the password for the remote host.
-n: Explicitly prompt for name and password.
-a: Do not set up an auxiliary channel for standard error.
-b: Use BSD-rsh type signal handling.
-c: Do not close remote standard in when local input closes
-d: Turn on debugging information.
-h: Print this usage message.
-s: Do not echo signals to the remote process.
rsh - remote shell
oeffnet eine Shell auf dem remote-Rechner, quasirlogin/telnet mit Kommandouebergabe.
Gruesse, Clemens
Usage: rexec [ -abcdhns ] -l username -p password host command
-l username: Sets the login name for the remote host.
-p password: Sets the password for the remote host.
-n: Explicitly prompt for name and password.
-a: Do not set up an auxiliary channel for standard error.
-b: Use BSD-rsh type signal handling.
-c: Do not close remote standard in when local input closes
-d: Turn on debugging information.
-h: Print this usage message.
-s: Do not echo signals to the remote process.
rsh - remote shell
oeffnet eine Shell auf dem remote-Rechner, quasirlogin/telnet mit Kommandouebergabe.
Gruesse, Clemens
Re: rexec vs. rsh
Hallo Clemens.
Dein rsh scheint anders zu funktionieren als meines. Meines - sowohl auf Slackware als auch FreeBSD - führt nur ein Remote-Kommando aus und macht keine Shell auf (rsh bekommt sehr zu meinem Leidwesen nicht mal ne tty zugewiesen für die Zeit des Ausführens).
Allerdings scheint es rexec auf FreeBSD nicht zu geben, sodaß ich vermute, rexec ist das SysV Gegenstück zu rsh ?!
Dein rsh scheint anders zu funktionieren als meines. Meines - sowohl auf Slackware als auch FreeBSD - führt nur ein Remote-Kommando aus und macht keine Shell auf (rsh bekommt sehr zu meinem Leidwesen nicht mal ne tty zugewiesen für die Zeit des Ausführens).
Allerdings scheint es rexec auf FreeBSD nicht zu geben, sodaß ich vermute, rexec ist das SysV Gegenstück zu rsh ?!