[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

time.conf



Hi

I have a USB modem, their associated dev file is /dev/input/ttyACM0. I need to
state in time.conf that only foo and bar are able to login via ppp on work
hours.

<copy from="/etc/pam.d/ppp">
...
account    required     pam_time.so
...
</copy>

<copy from="/etc/security/time.conf">
...
ppp;input/ttyACM*;!foo & !bar;!Wd0900-1700
...
</copy>

it isn't working. Is 'input/ttyACM*' the correct form to specify a device not
directly under /dev? or should I use 'input.ttyACM', 'input-ttyACM', etc...?

Regards,
mike






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []