Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

After a kill, who continues finding the user 1

Status
Not open for further replies.

Albermen

IS-IT--Management
Nov 11, 2002
8
PY
After a kill, the logged user not disappear from utmp and wtmp. What I must do to solve this problem?
 
I don't know that the user names are supposed to dissappear from these files. How are you doing the kill for the user?

kill ${PID} or kill -15 ${PID}?

If so, this may or may not kill the user out of the system, I have had very little success with killing users out using the above examples. I have always had to use the following:

kill -9 ${PID}

The names stay in utmp and wtmp, but they do not show up in who. I would say that if the name is still showing up in who, then the user is still logged in and you need to force the kill with "-9".
 
I do kill -9 but who show up the names. To give only kill never worked for me, I always used kill -9.
 
or kill -15.
But this is probably a ghost user, which rebooting will eliminate. Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top