diff --git a/pam_usb/Makefile b/pam_usb/Makefile index b8defec..d19be8e 100644 --- a/pam_usb/Makefile +++ b/pam_usb/Makefile @@ -76,7 +76,7 @@ install : all $(MKDIR) -p $(CONFS_DEST) $(DOCS_DEST) $(MANS_DEST) $(TOOLS_DEST) $(PAM_USB_DEST) $(INSTALL) -m755 $(PAM_USB) $(PAM_USB_DEST) $(INSTALL) -m755 $(PAMUSB_CHECK) $(TOOLS_SRC)/$(PAMUSB_CONF) $(TOOLS_SRC)/$(PAMUSB_AGENT) $(TOOLS_DEST) - $(INSTALL) -m644 $(CONFS) $(CONFS_DEST) + $(INSTALL) -b -m644 $(CONFS) $(CONFS_DEST) $(INSTALL) -m644 $(DOCS) $(DOCS_DEST) $(INSTALL) -m644 $(MANS) $(MANS_DEST) diff --git a/pam_usb/doc/pamusb.conf b/pam_usb/doc/pamusb.conf index b153461..1a3f900 100644 --- a/pam_usb/doc/pamusb.conf +++ b/pam_usb/doc/pamusb.conf @@ -1,6 +1,5 @@ @@ -16,7 +15,7 @@ See http://www.pamusb.org/doc/configuring diff --git a/pam_usb/tools/pamusb-agent b/pam_usb/tools/pamusb-agent index c4c3588..eb686c7 100755 --- a/pam_usb/tools/pamusb-agent +++ b/pam_usb/tools/pamusb-agent @@ -155,7 +155,7 @@ events = { 'unlock' : [] } -for hotplug in user.findall('hotplug'): +for hotplug in user.findall('agent'): events[hotplug.get('event')].append(hotplug.text) deviceName = user.find('device').text