Hm, I guess that'd make me the Master. :-)
> I have a need for a script file (dameon) (cron) to perform the following
> fuctions.
Don't think you can get there from here ...
> I have a Portmaster that the users will dail into. I need to have the user
> to be assigned a predetermined TTY so that the user will be set up to print
> on the proper printer that has the proper formthat is mapped to a TTY. Is
> there a script file that will take the users login and filter them to the
> proper predetermined TTY every time?
Well, I have good news and I have bad news. I'm going to detail the response
so that others can benefit from this, but since you are running SCO this
answer will not apply to you.
On platforms where Livingston supports the in.pmd daemon you can create a
file (/etc/pmdtab) in the following format:
portmaster_name starting_tty - ending_tty
An actual file might contain:
pm2.domain.com r0 - r1
which tells the pmd that users coming in will get mapped first to r0, second
to r1.
Unfortunately we don't have in.pmd support for the SCO platform. :-(
> Is there any scripts that can perform this functions?
None that I know of - the clone device is responsible for handing out
tty's and works in the order from ttyp0 through whatever you have
configured on your unix box. Problem is twofold, one, whenever ttyp0
comes available again it gets handed out to the next user. The second,
and much harder problem is that this is all handled by the psuedo-tty
device driver and unix itself. Not much hacking to be done there, I'm
afraid. :-)
-- Bri