TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:10915] Asking the Impossible?



OK, I tried Adding
	7:2345:respawn:/usr/bin/telnet <hostname> to /etc/inittab
Then I rebooted the machine, And It works, except it keeps respawning even
before you get to login, so then you get a message that says process id is
spawning to fast, canceled for 5 minutes?
	Any ideas what to do now?
	I'm Running RH5.1 w/ Kernel 2.2.7, 16MB RAM, P75, 3 1GB HD's,
	Apache, Sendmail, All the Usual!

_____________________________________________________________________________
	Jonathan Kline, A+
	Webmaster at students.ism-sabis.net
	Linux is the future of the world!

"Yesterday we were an army without a country, Tomarrow we just have to 
decide which country we want to buy!"
_____________________________________________________________________________

> Sure. Look for the virtual console lines in /etc/inittab. They look
> something like this:
> 
> 1:2345:respawn:/sbin/mingetty tty1
> ..
> 6:2345:respawn:/sbin/mingetty tty6
> 
> Should have 6 of them by default. To make F7 always telnet into another
> machine, add:
> 
> 7:2345:respawn:/usr/bin/telnet ip_addr_or_hostname
> 
> Then either reboot, or type 'init q'.
> 
> Alt-F7 will then always be a telnet to wherever you said. When/if the
> telnet session dies, it'll respawn. 
> 
> I just tested it and it works rather nicely - especially if you can get
> away with a passwordless ssh connection. Then I made Alt-F7 always run
> Lynx.