Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61621 - pam_usb-0.3.0 patch for 2.6.x kernel to use check_device option and serials
Summary: pam_usb-0.3.0 patch for 2.6.x kernel to use check_device option and serials
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 04:41 UTC by spamjam
Modified: 2004-08-25 04:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
testing and patching script (pam_usb-0.3.0-krnl-2.6.patch.sh,8.50 KB, patch)
2004-08-25 04:45 UTC, spamjam
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description spamjam 2004-08-25 04:41:18 UTC
In 2.6 kernel series /proc/scsi/usb-storage structure has changed a little bit, so pam_usb.so cannot find your usb device to look for serial.

Try "<this_patch.sh> test" to find out if your system has this problem.

Due to additional complications with usb pen serial number on my system I changed the code so it queries for Vendor ID.

If "<this_patch.sh> test" tells you your usb pen serial number you can try:
replace "Vendor" "Serial Number" -- <this_patch.sh> ( case sensitive) to use Serial Number (this case is untested)

Reproducible: Always
Steps to Reproduce:
1.use pam_usb whith check_device=1
2.
3.

Actual Results:  
Login refused.
Sometimes: login crashed
Comment 1 spamjam 2004-08-25 04:45:22 UTC
Created attachment 38158 [details, diff]
testing and patching script
Comment 2 spamjam 2004-08-25 04:47:10 UTC
Patch attached