Toby DiPasquale on Thu, 4 Sep 2003 10:13:05 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] ghost user


Jaiwant Mulik wrote:
Hi all,

On my server `who` tells me that a jdoe is logged in. I just disabled
the account, but cannot force the already logged in jdoe out. What is
strange is that no jdoe login processes/shells show up in `ps -auxww`
and jdoe's shell in /etc/passwd was /bin/false.

After all this `who` still shows the person still logged in. Any idea
who to forcibly log this person out ?

bye,


% su - Password: # for i in `ps aux | grep jdoe | awk '{print $2}'`; do kill -9 $i; done # ps aux | grep jdoe | wc -l

The last line should return 0.

--
Tobias DiPasquale
88FA 30C9 1E63 CFE2 CBD8  37C4 DA1C E2BF 1D26 F036
http://cbcg.net/

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug