<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Howto: Linux Kill and Logout Users</title> <atom:link href="http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Ammar Shaikh</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-178371</link> <dc:creator>Ammar Shaikh</dc:creator> <pubDate>Wed, 11 Jan 2012 07:56:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-178371</guid> <description>Hello;
I m also not getting your question so please explain it briefly or understandable that is very helpful to you and all also...</description> <content:encoded><![CDATA[<p>Hello;</p><p> I m also not getting your question so please explain it briefly or understandable that is very helpful to you and all also&#8230;</p> ]]></content:encoded> </item> <item><title>By: Mehdi</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-173782</link> <dc:creator>Mehdi</dc:creator> <pubDate>Thu, 08 Sep 2011 14:22:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-173782</guid> <description>Hi,
If all the sessions have been made by a user, i.e. vivek, is it possible to kill a session based on TTY?</description> <content:encoded><![CDATA[<p>Hi,</p><p>If all the sessions have been made by a user, i.e. vivek, is it possible to kill a session based on TTY?</p> ]]></content:encoded> </item> <item><title>By: Waqar</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-171901</link> <dc:creator>Waqar</dc:creator> <pubDate>Mon, 13 Jun 2011 06:52:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-171901</guid> <description>That&#039;s Because u also killed &quot;SSH&quot;, u need to login via console and restart SSH Services.</description> <content:encoded><![CDATA[<p>That&#8217;s Because u also killed &#8220;SSH&#8221;, u need to login via console and restart SSH Services.</p> ]]></content:encoded> </item> <item><title>By: Naresh Kumar</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-171566</link> <dc:creator>Naresh Kumar</dc:creator> <pubDate>Thu, 26 May 2011 12:19:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-171566</guid> <description>@ Vishnu,
You can use following command.
who -w&#124;awk ‘{print $1}’&#124;grep username&#124;xargs skill -KILL -u</description> <content:encoded><![CDATA[<p>@ Vishnu,</p><p>You can use following command.<br
/> who -w|awk ‘{print $1}’|grep username|xargs skill -KILL -u</p> ]]></content:encoded> </item> <item><title>By: Vishnu Ram</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-171562</link> <dc:creator>Vishnu Ram</dc:creator> <pubDate>Thu, 26 May 2011 09:04:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-171562</guid> <description>Hello,
I need to kill an user session which is not being used by that particular user for last 10 days. Please help me to get a script for that.</description> <content:encoded><![CDATA[<p>Hello,</p><p>I need to kill an user session which is not being used by that particular user for last 10 days. Please help me to get a script for that.</p> ]]></content:encoded> </item> <item><title>By: Mish</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-169688</link> <dc:creator>Mish</dc:creator> <pubDate>Wed, 09 Mar 2011 13:12:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-169688</guid> <description>I wanna know, how to block the users being ruining programs in bios level.
this is like blocking websites for various users in bios level.
ex; user &quot;A&quot; logging and browse internet (www.google.com)
after user &quot;B&quot; logging and browse the internet BUT HE CANT GO TO   &quot;www.google.com&quot; from any browser.
If you all have a suggestions how to block this kind of a session, I would be much appreciated.
Tx</description> <content:encoded><![CDATA[<p>I wanna know, how to block the users being ruining programs in bios level.<br
/> this is like blocking websites for various users in bios level.</p><p>ex; user &#8220;A&#8221; logging and browse internet (www.google.com)<br
/> after user &#8220;B&#8221; logging and browse the internet BUT HE CANT GO TO   &#8220;www.google.com&#8221; from any browser.</p><p>If you all have a suggestions how to block this kind of a session, I would be much appreciated.</p><p>Tx</p> ]]></content:encoded> </item> <item><title>By: Bilal Bhat</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-161552</link> <dc:creator>Bilal Bhat</dc:creator> <pubDate>Sun, 28 Nov 2010 07:27:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-161552</guid> <description>Brilliant bishnoink, you made my life easy... Thanks for sharing the command...</description> <content:encoded><![CDATA[<p>Brilliant bishnoink, you made my life easy&#8230; Thanks for sharing the command&#8230;</p> ]]></content:encoded> </item> <item><title>By: bishnoink</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-159644</link> <dc:creator>bishnoink</dc:creator> <pubDate>Wed, 15 Sep 2010 05:01:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-159644</guid> <description>I have tried &quot;skill -KILL /dev/pts/*&quot; its not working on rhel5.
alternative to kill all users sessions except &quot;root&quot; is:
who -w&#124;awk &#039;{print $1}&#039;&#124;grep -v root&#124;xargs skill -KILL -u
*don&#039;t forget to use &quot;grep -v root&quot; otherwise this will kill all the processes.
Thanks</description> <content:encoded><![CDATA[<p>I have tried &#8220;skill -KILL /dev/pts/*&#8221; its not working on rhel5.</p><p>alternative to kill all users sessions except &#8220;root&#8221; is:</p><p>who -w|awk &#8216;{print $1}&#8217;|grep -v root|xargs skill -KILL -u<br
/> *don&#8217;t forget to use &#8220;grep -v root&#8221; otherwise this will kill all the processes.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-158131</link> <dc:creator>Chris</dc:creator> <pubDate>Thu, 15 Jul 2010 23:54:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-158131</guid> <description>According to the documentation, skill is obsolete and we should all be using pkill instead -- see http://linux.die.net/man/1/skill</description> <content:encoded><![CDATA[<p>According to the documentation, skill is obsolete and we should all be using pkill instead &#8212; see <a
href="http://linux.die.net/man/1/skill" rel="nofollow">http://linux.die.net/man/1/skill</a></p> ]]></content:encoded> </item> <item><title>By: kaminisuresh</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-153952</link> <dc:creator>kaminisuresh</dc:creator> <pubDate>Fri, 26 Feb 2010 11:05:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-153952</guid> <description>hi
this is suresh i want which pc is having some server,how to identify which is having server</description> <content:encoded><![CDATA[<p>hi<br
/> this is suresh i want which pc is having some server,how to identify which is having server</p> ]]></content:encoded> </item> <item><title>By: viper</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-146008</link> <dc:creator>viper</dc:creator> <pubDate>Sat, 06 Dec 2008 07:46:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-146008</guid> <description>how about to remove halt application..
at the bios I can&#039;t find to solve that..
thanx...</description> <content:encoded><![CDATA[<p>how about to remove halt application..<br
/> at the bios I can&#8217;t find to solve that..<br
/> thanx&#8230;</p> ]]></content:encoded> </item> <item><title>By: lee o</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-145540</link> <dc:creator>lee o</dc:creator> <pubDate>Sun, 09 Nov 2008 18:01:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-145540</guid> <description>Something for Linux Monty Python fans - one of you show a more funny way of kicking users off a linux box than &lt;a href=&quot;http://blog.ooz.ie/2008/05/bash-kick-quick-way-to-get-rid-of.html&quot; rel=&quot;nofollow&quot;&gt;THIS ONE HERE.&lt;/a&gt;. Very entertaining!</description> <content:encoded><![CDATA[<p>Something for Linux Monty Python fans &#8211; one of you show a more funny way of kicking users off a linux box than <a
href="http://blog.ooz.ie/2008/05/bash-kick-quick-way-to-get-rid-of.html" rel="nofollow">THIS ONE HERE.</a>. Very entertaining!</p> ]]></content:encoded> </item> <item><title>By: Afrizal</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-145235</link> <dc:creator>Afrizal</dc:creator> <pubDate>Sat, 11 Oct 2008 16:16:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-145235</guid> <description>Thank you for your shared knowledge.
Great info.
thanks,
zall</description> <content:encoded><![CDATA[<p>Thank you for your shared knowledge.</p><p>Great info.</p><p>thanks,</p><p>zall</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-144851</link> <dc:creator>Anonymous</dc:creator> <pubDate>Fri, 05 Sep 2008 04:00:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-144851</guid> <description>Only if you have another way of logging in (e.g. telnet, vnc, etc)</description> <content:encoded><![CDATA[<p>Only if you have another way of logging in (e.g. telnet, vnc, etc)</p> ]]></content:encoded> </item> <item><title>By: Terry</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-142399</link> <dc:creator>Terry</dc:creator> <pubDate>Tue, 08 Jan 2008 21:05:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-142399</guid> <description>Oops didn&#039;t read through all the threads. I had a user who was logged on remotely as root but when I ran the command we were kicked out of our SSH sessions
Is there any way to recover SSH functionality short of rebooting</description> <content:encoded><![CDATA[<p>Oops didn&#8217;t read through all the threads. I had a user who was logged on remotely as root but when I ran the command we were kicked out of our SSH sessions<br
/> Is there any way to recover SSH functionality short of rebooting</p> ]]></content:encoded> </item> <item><title>By: De..</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-142100</link> <dc:creator>De..</dc:creator> <pubDate>Fri, 07 Dec 2007 21:11:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-142100</guid> <description>the process hang up and when i shen them it shows like &quot;defunction&quot;</description> <content:encoded><![CDATA[<p>the process hang up and when i shen them it shows like &#8220;defunction&#8221;</p> ]]></content:encoded> </item> <item><title>By: De..</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-142099</link> <dc:creator>De..</dc:creator> <pubDate>Fri, 07 Dec 2007 21:09:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-142099</guid> <description>i want to delete the process because my systems average load is too high 150.0 and more some time
and when i delete them ..they goes to  and start increasing the load continously..
the process are perl scripts..
please help urgent</description> <content:encoded><![CDATA[<p>i want to delete the process because my systems average load is too high 150.0 and more some time<br
/> and when i delete them ..they goes to  and start increasing the load continously..<br
/> the process are perl scripts..<br
/> please help urgent</p> ]]></content:encoded> </item> <item><title>By: deivs</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-141118</link> <dc:creator>deivs</dc:creator> <pubDate>Sun, 16 Sep 2007 09:38:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-141118</guid> <description>script to logout the users in the specific time</description> <content:encoded><![CDATA[<p>script to logout the users in the specific time</p> ]]></content:encoded> </item> <item><title>By: Hong@macau</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-140520</link> <dc:creator>Hong@macau</dc:creator> <pubDate>Wed, 18 Jul 2007 09:34:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-140520</guid> <description>i think when i enter this command
&lt;code&gt;skill -KILL -u root&lt;/code&gt;
this will be kill all the process that create by root. such as ssh telnet process.</description> <content:encoded><![CDATA[<p>i think when i enter this command<br
/> <code>skill -KILL -u root</code></p><p>this will be kill all the process that create by root. such as ssh telnet process.</p> ]]></content:encoded> </item> <item><title>By: Masood Yarmohammadi</title><link>http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-139013</link> <dc:creator>Masood Yarmohammadi</dc:creator> <pubDate>Sun, 27 May 2007 15:39:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-kill-and-logout-users.html#comment-139013</guid> <description>Hello,
i use
skill -KILL -u didi root
Now, i can&#039;t login to ssh!</description> <content:encoded><![CDATA[<p>Hello,<br
/> i use<br
/> skill -KILL -u didi root</p><p>Now, i can&#8217;t login to ssh!</p> ]]></content:encoded> </item> </channel> </rss>
