* Dedicated LAT service question
@ 1996-09-17 12:07 Mike McGovern
0 siblings, 0 replies; only message in thread
From: Mike McGovern @ 1996-09-17 12:07 UTC (permalink / raw)
To: tru64-unix-managers
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
=============
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-09-17 12:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-17 12:07 Dedicated LAT service question Mike McGovern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox