<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]systemd: Started Session ### of user root in /var/log/messages]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Tue, 27 Mar 2018 12:42:50 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	tail -f&nbsp;&nbsp;/var/log/messages<br/><br/>Mar 27 20:39:01 localhost systemd: Starting Session 17 of user root.<br/>Mar 27 20:40:01 localhost systemd: Started Session 18 of user root.<br/>Mar 27 20:40:01 localhost systemd: Starting Session 18 of user root.<br/>Mar 27 20:40:01 localhost systemd: Started Session 19 of user root.<br/>Mar 27 20:40:01 localhost systemd: Starting Session 19 of user root.<br/>Mar 27 20:40:12 localhost systemd: Starting Cleanup of Temporary Directories...<br/>Mar 27 20:40:12 localhost systemd: Started Cleanup of Temporary Directories.<br/>Mar 27 20:41:01 localhost systemd: Started Session 20 of user root.<br/>Mar 27 20:41:01 localhost systemd: Starting Session 20 of user root.<br/>Mar 27 20:42:01 localhost systemd: Stopping System Logging Service...<br/><br/><textarea name="code" class="php" rows="15" cols="100">
echo &#039;if ($programname == &quot;systemd-logind&quot; or $programname == &quot;systemd&quot;) and ($msg contains &quot;Starting Session&quot; or $msg contains &quot;Started Session&quot; or $msg contains &quot;Removed session&quot; or $msg contains &quot;New session&quot; or $msg contains &quot;Created slice&quot; or $msg contains &quot;Starting user-&quot;) then stop&#039; &gt;/etc/rsyslog.d/ignore-systemd-session-slice.conf
</textarea><br/><br/><br/>#Restart Syslog<br/>systemctl restart rsyslog<br/><br/>[root@localhost ~]# systemctl restart rsyslog<br/>您在 /var/spool/mail/root 中有新邮件<br/>来自：https://access.redhat.com/solutions/1564823<br/>https://www.linuxquestions.org/questions/linux-security-4/systemd-started-session-of-user-root-in-var-log-messages-4175515978/
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]systemd: Started Session ### of user root in /var/log/messages]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>