<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Log_off_specific_users</id>
	<title>Log off specific users - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Log_off_specific_users"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Log_off_specific_users&amp;action=history"/>
	<updated>2026-05-06T14:11:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Log_off_specific_users&amp;diff=294&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;&lt;pre&gt; for user in user1 user2 user3 ; do id=$(query user $user 2&gt;&gt; /dev/null | awk '{ print $3 }' | sed -e '/ID/ d') if [[ &quot;$id&quot; =~ ^[1-9][0-9]?$ ]]; then logoff $id echo date...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Log_off_specific_users&amp;diff=294&amp;oldid=prev"/>
		<updated>2017-03-06T15:35:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; for user in user1 user2 user3 ; do id=$(query user $user 2&amp;gt;&amp;gt; /dev/null | awk &amp;#039;{ print $3 }&amp;#039; | sed -e &amp;#039;/ID/ d&amp;#039;) if [[ &amp;quot;$id&amp;quot; =~ ^[1-9][0-9]?$ ]]; then logoff $id echo date...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
for user in user1 user2 user3 ;&lt;br /&gt;
do&lt;br /&gt;
id=$(query user $user 2&amp;gt;&amp;gt; /dev/null | awk '{ print $3 }' | sed -e '/ID/ d')&lt;br /&gt;
if [[ &amp;quot;$id&amp;quot; =~ ^[1-9][0-9]?$ ]]; then&lt;br /&gt;
logoff $id&lt;br /&gt;
echo date &amp;quot;$user was logged off&amp;quot; &amp;gt;&amp;gt; logg_off.log&lt;br /&gt;
fi&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>