Sean R. Cummins on Tue, 11 Jan 2000 20:42:24 -0500 (EST) |
> 1) I think pretty much any version of getty (plain getty, mingetty, > agetty), although I'm not familiar w/ them all, I think they should all > have a -l option to let you change the login program. I tried to use agetty, but that was core dumping, so now I'm back to getty. It appears that my version of getty (RH6.0) does not have the -l option, but it does allow you to replace the default /bin/login with whatever command you want to enter (LOGIN=whatever in /etc/conf.getty). BUT, getty is the program that is prompting for the username, not /bin/login. So, what I've done so far is: replace the login command with my own script which contains: #!/bin/bash rlogin -l username host that way, the end user (a vending machine, in case you were wondering), sees the login prompt from the terminal server, and the password prompt from the Solaris box that is being rlogged into. So all of this seems like it will work in theory, the only problem I'm having now is getting the modems to properly talk to each other.. which has been pretty difficult because I don't have the specs on the modems in the vending machines. And when I try replacing the init string on the modem in the Linux terminal server, by adding an INIT=ATblahblah command to /etc/conf.getty, getty continuously respawns all by itself. I'm guessing its just crashing or something.. But anyway, Darxus & Lord_Dark, thank you very much for your help.. its definitely been pointing me in the right direction.. __________________________________________________________________ Sean R. Cummins e-Vend.net Corporation Lead Network Engineer (610) 925-3350 tel src@e-vend.net http://www.e-vend.net ______________________________________________________________________ Philadelphia Linux Users Group - http://plug.nothinbut.net Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce General Discussion - http://lists.nothinbut.net/mail/listinfo/plug
|
|