Open bkanuka opened 11 years ago
The problem is related to permissions of files located inside .pamusb on the root of your usb token, use chgrp to change group to your main group and chmod to grant rwx to your group.
Any idea how/why this file was created with the "wrong" permissions?
I come across the same error when I change my umask setting to 027
# /etc/login.defs
UMASK 027
#/etc/init.d/rc
umask 027
I am using arch manjaro, the latest but one version 16.06 rc1. I've installed pam_usb and added a usb device and two users (root and m) with no errors but get this error when checking either user. I note that the problem is to do with permissions but can't find .pamusb mentioned by porelli.
[root@m m]# pamusb-check --debug m
I am on Ubuntu 12.10 and I believe I have everything configured properly, because this works:
However, pamusb-fails:
What specifically am I being denied access to? (Note: this does work with
sudo pamusb-check --debug bennett
)