<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
	<id>http://wiki.netsitech.com/index.php?action=history&amp;feed=atom&amp;title=Pam_loginuid%28crond%3Asession%29%3A_set_loginuid_failed_opening_loginuid</id>
	<title>Pam loginuid(crond:session): set loginuid failed opening loginuid - Cronologia</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.netsitech.com/index.php?action=history&amp;feed=atom&amp;title=Pam_loginuid%28crond%3Asession%29%3A_set_loginuid_failed_opening_loginuid"/>
	<link rel="alternate" type="text/html" href="http://wiki.netsitech.com/index.php?title=Pam_loginuid(crond:session):_set_loginuid_failed_opening_loginuid&amp;action=history"/>
	<updated>2026-04-08T19:44:46Z</updated>
	<subtitle>Cronologia della pagina su questo sito</subtitle>
	<generator>MediaWiki 1.34.4</generator>
	<entry>
		<id>http://wiki.netsitech.com/index.php?title=Pam_loginuid(crond:session):_set_loginuid_failed_opening_loginuid&amp;diff=3789&amp;oldid=prev</id>
		<title>Mazzotti il 13:01, 15 gen 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.netsitech.com/index.php?title=Pam_loginuid(crond:session):_set_loginuid_failed_opening_loginuid&amp;diff=3789&amp;oldid=prev"/>
		<updated>2011-01-15T13:01:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Versione delle 13:01, 15 gen 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Riga 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The PAM configuration file for the cron daemon&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# The PAM configuration file for the cron daemon&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;auth     sufficient     pam_rootok.so&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;auth     sufficient     pam_rootok.so&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mazzotti</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.netsitech.com/index.php?title=Pam_loginuid(crond:session):_set_loginuid_failed_opening_loginuid&amp;diff=3788&amp;oldid=prev</id>
		<title>Mazzotti: Creata pagina con '&lt;code&gt; root@hostname [~]# tail /var/log/messages Jan 15 13:30:01 vmlinux1 cron: pam_loginuid(crond:session): set_loginuid failed Jan 15 13:30:01 vmlinux1 cron: Cannot make/remove...'</title>
		<link rel="alternate" type="text/html" href="http://wiki.netsitech.com/index.php?title=Pam_loginuid(crond:session):_set_loginuid_failed_opening_loginuid&amp;diff=3788&amp;oldid=prev"/>
		<updated>2011-01-15T12:59:49Z</updated>

		<summary type="html">&lt;p&gt;Creata pagina con &amp;#039;&amp;lt;code&amp;gt; root@hostname [~]# tail /var/log/messages Jan 15 13:30:01 vmlinux1 cron: pam_loginuid(crond:session): set_loginuid failed Jan 15 13:30:01 vmlinux1 cron: Cannot make/remove...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;br /&gt;
root@hostname [~]# tail /var/log/messages&lt;br /&gt;
Jan 15 13:30:01 vmlinux1 cron: pam_loginuid(crond:session): set_loginuid failed&lt;br /&gt;
Jan 15 13:30:01 vmlinux1 cron: Cannot make/remove an entry for the specified session&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logwatch occur when using a non-standard kernel without the correct CONFIG_AUDIT and CONFIG_AUDITSYSCALL options set. If you're running a kernel without those options then you can remove the pam_loginuid from PAM (sshd,crond,login,remote and possibly others)&lt;br /&gt;
&lt;br /&gt;
Method 1, grep and comment out the following pam_loginuid.so call&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
root@hostname [~]# grep pam_loginuid.so /etc/pam.d/*&lt;br /&gt;
/etc/pam.d/crond:session required pam_loginuid.so&lt;br /&gt;
/etc/pam.d/login:session required pam_loginuid.so&lt;br /&gt;
/etc/pam.d/remote:session required pam_loginuid.so&lt;br /&gt;
/etc/pam.d/sshd:session required pam_loginuid.so&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Method 2, if logwatch only related to crond, comment crond from pam config only&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
root@hostname [~]# more /etc/pam.d/crond&lt;br /&gt;
#&lt;br /&gt;
# The PAM configuration file for the cron daemon&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
auth     sufficient     pam_rootok.so&lt;br /&gt;
auth     include        common-auth&lt;br /&gt;
account  include        common-account&lt;br /&gt;
password include        common-password&lt;br /&gt;
#session  required       pam_loginuid.so&lt;br /&gt;
session  include        common-session&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mazzotti</name></author>
		
	</entry>
</feed>