public final class rlogin
extends java.lang.Object
On Unix systems you will not be able to use the rshell capability unless the process runs as root since only root can bind port addresses lower than 1024.
JVM's using green threads will likely have problems if the rlogin daemon requests a password. This program is merely a demonstration and is not suitable for use as an application, especially given that it relies on line buffered input from System.in. The best way to run this example is probably from a Win95 dos box into a Unix host.
Example: java rlogin myhost localusername remoteusername vt100
Usage: rlogin
Constructor and Description |
---|
rlogin() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |