<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wikiold.home.tartarefr.eu/index.php?action=history&amp;feed=atom&amp;title=Security%2FPamUsb%2FTroubleshooting</id>
	<title>Security/PamUsb/Troubleshooting - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wikiold.home.tartarefr.eu/index.php?action=history&amp;feed=atom&amp;title=Security%2FPamUsb%2FTroubleshooting"/>
	<link rel="alternate" type="text/html" href="https://wikiold.home.tartarefr.eu/index.php?title=Security/PamUsb/Troubleshooting&amp;action=history"/>
	<updated>2026-07-09T11:52:11Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wikiold.home.tartarefr.eu/index.php?title=Security/PamUsb/Troubleshooting&amp;diff=1018&amp;oldid=prev</id>
		<title>Didier : Page créée avec « = Troubleshooting =  Don&#039;t panic!  == Log Analysis ==  Both pam_usb.so and pamusb-agent use the syslog facility to log authentication attempts. This can be useful for GUI-dri... »</title>
		<link rel="alternate" type="text/html" href="https://wikiold.home.tartarefr.eu/index.php?title=Security/PamUsb/Troubleshooting&amp;diff=1018&amp;oldid=prev"/>
		<updated>2012-12-13T14:11:05Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « = Troubleshooting =  Don&amp;#039;t panic!  == Log Analysis ==  Both pam_usb.so and pamusb-agent use the syslog facility to log authentication attempts. This can be useful for GUI-dri... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t panic!&lt;br /&gt;
&lt;br /&gt;
== Log Analysis ==&lt;br /&gt;
&lt;br /&gt;
Both pam_usb.so and pamusb-agent use the syslog facility to log authentication&lt;br /&gt;
attempts.&lt;br /&gt;
This can be useful for GUI-driven applications (for instance GDM) where you&lt;br /&gt;
don&amp;#039;t get to see console output.&lt;br /&gt;
Messages are logged with the AUTH facility, they are usually written to&lt;br /&gt;
&amp;lt;path&amp;gt;/var/log/auth.log&amp;lt;/path&amp;gt; but may vary&lt;br /&gt;
depending on the operating system you&amp;#039;re using.&lt;br /&gt;
&lt;br /&gt;
 # tail -f /var/log/auth.log&lt;br /&gt;
 pamusb-agent[25429]: Device &amp;quot;sandisk&amp;quot; has been inserted. Performing&lt;br /&gt;
 verification...&lt;br /&gt;
 pamusb-agent[25429]: Executing &amp;quot;/usr/bin/pamusb-check --quiet&lt;br /&gt;
 --config=/etc/pamusb.conf --service=pamusb-agent scox&amp;quot;&lt;br /&gt;
 pam_usb[25485]: Authentication request for user &amp;quot;scox&amp;quot; (pamusb-agent)&lt;br /&gt;
 pam_usb[25485]: Device &amp;quot;sandisk&amp;quot; is connected (good).&lt;br /&gt;
 pam_usb[25485]: Access granted.&lt;br /&gt;
 pamusb-agent[25429]: Authentication succeeded. Unlocking user &amp;quot;scox&amp;quot;...&lt;br /&gt;
 pamusb-agent[25429]: Unlocked.&lt;br /&gt;
&lt;br /&gt;
== Enabling debug ==&lt;br /&gt;
&lt;br /&gt;
Enabling debug messages may help you find out what&amp;#039;s wrong.&lt;br /&gt;
&lt;br /&gt;
To enable them, edit &amp;lt;path&amp;gt;/etc/pamusb.conf&amp;lt;/path&amp;gt; and set the following option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;defaults&amp;gt;&lt;br /&gt;
  &amp;lt;option name=&amp;quot;debug&amp;quot;&amp;gt;true&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;/defaults&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You can enable debug messages only for a specific user, device or service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;services&amp;gt;&lt;br /&gt;
  &amp;lt;service id=&amp;quot;sudo&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;option name=&amp;quot;debug&amp;quot;&amp;gt;true&amp;lt;/option&amp;gt;&lt;br /&gt;
  &amp;lt;/service&amp;gt;&lt;br /&gt;
&amp;lt;/services&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Didier</name></author>
	</entry>
</feed>