[Tfug] Two factor authentication

TR trexx at pobox.com
Thu Sep 19 07:50:06 MST 2013


Steve,

Yous state sudo <something>,  not all sudo make sense, such as  sudo cd, So
the first question is do all sudo fail?   What does sudo id produce?
As a temporary test I would add rw to others on the device, and try, just
to eliminate the permissions on the /dev/...




On Wed, Sep 18, 2013 at 4:29 PM, Steve B <steveb7 at gmail.com> wrote:

> I've been tinkering with two factor authentication using the guide from -
> http://linuxconfig.org/linux-authentication-login-with-usb-device
>
> for the most part it works quite well, with one exception. When I have a
> terminal session open and try to run "sudo <something>" I get an error
> saying access denied. Running debug on pamusb-check the last three lines
> after finding the volume say:
>
> [src/pad.c:064] CAnnot open device file: Permission denied
> * Pad checking failed !
> * Access denied.
>
> If I look at the permissions on the USB device I'm pretty sure this is the
> problem, but I'm a little fuzzy on the proper way to fix it. Suggestions?
>
> brw-rw---- 1 root disk 8, 16 2013-09-18 16:12 /dev/sdb
> brw-rw---- 1 root disk 8, 17 2013-09-18 16:12 /dev/sdb1
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tfug.org/pipermail/tfug_tfug.org/attachments/20130919/40a189d9/attachment-0002.html>


More information about the tfug mailing list