Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 315949 Details for
Bug 461351
Sos plugin to collect smartcard related details
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to enable smartcard plugin
smartcard.patch (text/plain), 1.69 KB, created by
Sadique Puthen
on 2008-09-06 11:54:00 UTC
(
hide
)
Description:
Patch to enable smartcard plugin
Filename:
MIME Type:
Creator:
Sadique Puthen
Created:
2008-09-06 11:54:00 UTC
Size:
1.69 KB
patch
obsolete
>diff -Naur sos-1.7.orig/lib/sos/plugins/smartcard.py sos-1.7/lib/sos/plugins/smartcard.py >--- sos-1.7.orig/lib/sos/plugins/smartcard.py 1970-01-01 05:30:00.000000000 +0530 >+++ sos-1.7/lib/sos/plugins/smartcard.py 2008-09-06 16:49:33.000000000 +0530 >@@ -0,0 +1,36 @@ >+## Copyright (C) 2007 Sadique Puthen <sputhenp@redhat.com> >+ >+### This program is free software; you can redistribute it and/or modify >+## it under the terms of the GNU General Public License as published by >+## the Free Software Foundation; either version 2 of the License, or >+## (at your option) any later version. >+ >+## This program is distributed in the hope that it will be useful, >+## but WITHOUT ANY WARRANTY; without even the implied warranty of >+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+## GNU General Public License for more details. >+ >+## You should have received a copy of the GNU General Public License >+## along with this program; if not, write to the Free Software >+## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. >+ >+import sos.plugintools >+import os >+ >+class smartcard(sos.plugintools.PluginBase): >+ """Smart Card related information >+ """ >+ >+ def checkenabled(self): >+ if self.cInfo["policy"].pkgByName("pam_pkcs11") or os.path.exists("/etc/pam_pkcs11/pam_pkcs11.conf"): >+ return True >+ return False >+ >+ def setup(self): >+ self.addCopySpec("/etc/reader.conf") >+ self.addCopySpec("/etc/reader.conf.d/") >+ self.addCopySpec("/etc/pam_pkcs11/") >+ self.collectExtOutput("/usr/bin/pkcs11_inspect debug") >+ self.collectExtOutput("/usr/bin/pklogin_finder debug") >+ self.collectExtOutput("/bin/ls -l /usr/lib/pam_pkcs11/") >+ return
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 461351
: 315949