Click to See Complete Forum and Search --> : removing extra users?


andycrofts
04-20-2004, 06:50 AM
Hi, folks
For some reason, on my system at work, typing
users
gives 4 instances of root! I'm in as root twice, but the other 2 ... think they're left there from when putty or Xmanager crashed. "Top" agrees with this.
Don't think I've been compromised.
Typing
w
just gives me two instances of root.
who
gives the 4 users - 3 today! (yes, Windows BSOD' on me when using Putty) and one from a week or so back.

Question: How to kill the other (root) users? Don't wanna reboot - I'm at 64 days uptime!

serz
04-20-2004, 07:11 AM
Do a ps -aux

What you need to do is kill the user's -bash process. Use kill -9 process.

mdwatts
04-20-2004, 11:08 AM
Originally posted by andycrofts

Question: How to kill the other (root) users? Don't wanna reboot - I'm at 64 days uptime!

Does 'who' give you something like


root :0 Apr 20 08:38 (console)
root pts/0 Apr 20 08:39
root pts/2 Apr 20 08:39


If so, then don't worry about it as it's normal. We had another thread recently on the same question concerning multiple root's.

andycrofts
04-20-2004, 12:43 PM
..give similar to what mdwatts posted.
I guess it's not causing any harm, just weird.
But I'll try killing the bash processes (probably knock myself flying off the system in the process ;-)
-Andy