cant't kill old logins on linux server
Acting as backup system administrator for next 2 weeks; on one of the linux servers "who" displays over 900 logins, some of them as old as 6 months! But "ps -ef | grep <user>" shows no running process for <user>. Can I get rid of the logins without having to re-boot the server?
|
try
"To kill the login session, simply find the pid of *his* login shell (e.g.
bash), and 'kill -9' it. For example, I want to kill user 'carol' here: " ... "root@respc-csr2:~ > ps aux |grep carol carol 344 0.0 1.2 1828 1176 5 S May 1 0:00 -bash root 22261 0.0 0.3 852 340 p6 S 11:54 0:00 grep carol root@respc-csr2:~ > kill -9 344 " From http://lists.suse.com/archive/suse-l...-May/0974.html Google is your friend.. most of the time. |
Or as root:
#slay <user> |
All times are GMT -5. The time now is 02:38 PM. |