This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
pam_usb
mirror of
https://github.com/Fincer/pam_usb
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
4
Wiki
Activity
Browse Source
/etc/pam_usb -> /etc/pamusb
Andrea Luzzardi
18 years ago
parent
f31748d634
commit
73fc1d6178
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/conf.h
+1
-1
tools/pusb_adm
+1
-1
tools/pusb_hotplug
+ 1
- 1
src/conf.h
View File
@ -17,7 +17,7 @@
#
ifndef PUSB_CONF_H_
#
define PUSB_CONF_H_
#
define PUSB_CONF_FILE "
/
etc
/
pam
_
usb
/
pusb.conf"
#
define PUSB_CONF_FILE "
/
etc
/
pamusb
/
pusb.conf"
#
define CONF_DEVICE_XPATH "
/
/
configuration
/
devices
/
device[@id='%s']
/
%s"
#
define CONF_USER_XPATH "
/
/
configuration
/
users
/
user[@id='%s']
/
%s"
#
define CONF_SERVICE_XPATH "
/
/
configuration
/
services
/
service[@id='%s']
/
%s"
+ 1
- 1
tools/pusb_adm
View File
@ -151,7 +151,7 @@ if len(args) != 0:
usage()
options = { 'force' : False, 'deviceName' : None,
'configFile' : '/etc/pam
_
usb/pusb.conf' }
'configFile' : '/etc/pamusb/pusb.conf' }
for o, a in opts:
if o in ("-h", "--help"):
+ 1
- 1
tools/pusb_hotplug
View File
@ -114,7 +114,7 @@ try:
except getopt.GetoptError:
usage()
options = {'configFile' : '/etc/pam
_
usb/pusb.conf',
options = {'configFile' : '/etc/pamusb/pusb.conf',
'daemon' : False,
'path' : '/usr/bin/pusb_check'}
Write
Preview
Loading…
Cancel
Save