I'm trying to login to a server through the serial port using agetty. When I start agetty and open the serial connection, I see the login prompt but as soon as I enter the username (in my case
root), agetty gets killed. Not only that, along with agetty, it's parent shell is also being terminated. The following command sequence illustrates this. After starting agetty(the second line), I try to login through the serial port but end up losing the connection as below.
ROOT@dir1(~) (0)#agetty 115200 /dev/ttyS0 Connection to dir1 closed.
Any suggestions on why this might be happening? I'm using SLES version 10 and the serial port is connected to a terminal server that is being accessed through a web browser. I'm not sure if rebooting the server with an entry in inittab would make a difference but I'm not inclined towards that as this is a production server and down-times are expensive.