Browse Source

.pamusb -> .pusb

/etc/pamusb -> /etc/pusb
master
Andrea Luzzardi 18 years ago
parent
commit
90f02991e4
4 changed files with 5 additions and 5 deletions
  1. +2
    -2
      pam_usb/src/conf.c
  2. +1
    -1
      pam_usb/src/conf.h
  3. +1
    -1
      pam_usb/tools/pusb_adm
  4. +1
    -1
      pam_usb/tools/pusb_hotplug

+ 2
- 2
pam_usb/src/conf.c View File

@ -130,8 +130,8 @@ int pusb_conf_init(t_pusb_options *opts)
log_error("gethostname: %s\n", strerror(errno));
return (0);
}
strcpy(opts->system_pad_directory, ".pamusb");
strcpy(opts->device_pad_directory, ".pamusb");
strcpy(opts->system_pad_directory, ".pusb");
strcpy(opts->device_pad_directory, ".pusb");
opts->probe_timeout = 10;
opts->enable = 1;
opts->debug = 0;


+ 1
- 1
pam_usb/src/conf.h View File

@ -17,7 +17,7 @@
#ifndef PUSB_CONF_H_
# define PUSB_CONF_H_
# define PUSB_CONF_FILE "/etc/pamusb/pusb.conf"
# define PUSB_CONF_FILE "/etc/pusb/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
pam_usb/tools/pusb_adm View File

@ -151,7 +151,7 @@ if len(args) != 0:
usage()
options = { 'force' : False, 'deviceName' : None,
'configFile' : '/etc/pamusb/pusb.conf' }
'configFile' : '/etc/pusb/pusb.conf' }
for o, a in opts:
if o in ("-h", "--help"):


+ 1
- 1
pam_usb/tools/pusb_hotplug View File

@ -114,7 +114,7 @@ try:
except getopt.GetoptError:
usage()
options = {'configFile' : '/etc/pamusb/pusb.conf',
options = {'configFile' : '/etc/pusb/pusb.conf',
'daemon' : False,
'path' : '/usr/bin/pusb_check'}


Loading…
Cancel
Save