Hey people…
I'm faced with an interesting niche-case where it would be beneficial to KILL all session-related processes etc. (including spawned ones for the UID associated with that session-login) when a CARD is removed from a SunRAY.
I was wondering if anyone has played around with this at all.
I think there are 2 ways to go about it…
1) write a (cron) script that using some utsession-CLI-output monitors which card is IN-ACTIVE (removed) and kills processes that remain running once the card is gone…. Not real complicated, but not real pretty either….
2) the 2nd way might be slightly more elegant, but…
In the sessionTypes.props file there is reference to:
insertcard.start = /opt/SUNWut/lib/utdtsession -c insertcard add
Is there such a thing that is triggered when a card is REMOVED? If so, that could be used to initiate some session-cleanup procedure….
(I guess it would be a REAL bad thing if someone logs in as root through their CARD… pull the card, crash the box... :-)
===========================================================================================
Basically what I'm after is an ability to give people non-persistent/temporary SunRAY access with their CARD to individual accounts. (and I don't want processes consuming server-resources after the person is done using the SunRAY.)
( I can't *force* people to LOG OUT… but I can make them remove their badge… )
Any thoughts on the matter would be much appreciated.
Thanks,
-- MikeE
_______________________________________________ SunRay-Users mailing list [EMAIL PROTECTED] http://www.filibeto.org/mailman/listinfo/sunray-users
