killing inactve logons done via tcpip.
Posted on 1997-11-18
I have inherited responsibility for a SPARC SOLARIS 5.5 system. The problem is simply that of users leaving for the night by shutting down their pc's. Connection to the Unix system is via tcpip In the morning, the users sign on again, and instead of having unique sessions, they are on
twice, or more often.
Can someone refer me to a skeleton script or to the name of a text book whereby the clues as to how to route the output from the "ps -ef " and "who" commands to some script that would eliminate the surplus/hung
logons. Essentially, I want to eliminate users whose sessions have been inactive for a certain amount of time. Your help would be appreciated.
BTW, with dialup, there is no problem. The user's session is killed.