As mentioned previously, if you want to enforce it you can
use AMGH for this.  If you just want to track it, you could
drop a script in /usr/dt/config/Xsession.d/0200.trackCards
such as the attached script (you'd need to modify the script
slightly to append the output to a file and to add a date
stamp).  Make sure the script has execute permissions turned
on.  It will be executed during every login.

-Bob

fitra budi anggoro wrote:

Hi guys,
Sorry for interrupting a very long discussion about why sun ray. Need your help 
here :)
I am having 90 users with registered smart card only policy. Every smart card is registered with user name. The problem that these users are exchanging their cards. I want to track all of this. Anyone know where to find this smartcard user's log (if any) or perhaps create small script (please, a very simple one since I am new about shell scripting) to dump to a file. I really want to see this smart card is login with which unix id, at what time. From this, I can see if one smart card is used for several unix id. I am using SRSS 3.1, solaris 10, failover group, registered smart card only, no AMGH, NFS for home directory, and LDAP for authenticate.
Hope anyone can help me on this one.

Thanks,

Fitra

                
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2ยข/min or less.

------------------------------------------------------------------------

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

#!/bin/sh

utwho -c | nawk -v TOKEN=$SUN_SUNRAY_TOKEN '
$2 == TOKEN { printf ( "User: %s Token: %s\n", $3, $2 ) }
'
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to