From: Mike McGovern <Michael.McGovern () tcd ! ie>
To: tru64-unix-managers
Subject: Dedicated LAT service question
Date: Tue, 17 Sep 1996 12:07:59 +0000 [thread overview]
Message-ID: <96076339121496.tru64-unix-managers.marc@archive.invalid> (raw)
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
=============
reply other threads:[~1996-09-17 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox