From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076339121496.tru64-unix-managers.marc@archive.invalid> From: Mike McGovern Date: Tue, 17 Sep 1996 12:07:59 +0000 To: tru64-unix-managers Subject: Dedicated LAT service question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076339121496 I want to set up a LAT service which automatically logs into a pre-defined username (with no password). As a start I installed /usr/examples/lat/latdate.c and did this: latcp -A -a showdate "showdate service" -o added this to inittab: lat630:234:respawn:/usr/sbin/latdate /dev/lat/630 showdate and it worked fine. Next I changed latdate.c to do the login instead of displaying the date: replacing execl("/bin/date","date",NULL); with execl("/bin/login", "login", "userx",NULL); Now the service logs me in OK but as soon as I hit a key the service disconnects me. I guess it's something to do with ioctls and termios but that's black magic to me. I'd be very grateful for some suggestions. I'm on DU3.2 Thanks. -- Mike McGovern =============