Changeset 1594
- Timestamp:
- 07/07/04 11:00:33 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/conf/pykota.conf.sample
r1587 r1594 407 407 408 408 409 # Default policy for inexistant users (e.g. root) 410 # either allow or deny or external(some command here) 409 # Default policy to apply when either : 410 # 411 # - Printer doesn't exist in PyKota's database 412 # - User doesn't exist in PyKota's database 413 # - User has no quota entry for this Printer in PyKota's database 414 # 415 # Value can be either allow or deny or external(some command here) 416 # 411 417 # This value can be set either globally or per printer or both. 412 418 # If both are defined, the printer option has priority. … … 418 424 # if he is unknown. Example : 419 425 # 420 # 426 # policy: external(/usr/bin/edpykota --add --printer %(printername)s --softlimit 50 --hardlimit 60 %(username)s >/dev/null) 421 427 # 422 428 # Of course you can launch any command of your choice with this, e.g. : 423 429 # 424 # 430 # policy: external(/usr/local/bin/myadminscript.sh %(username)s >/dev/null) 425 431 426 432 # You can use : … … 435 441 # layer (filter or backend) 436 442 # 437 # If the user still doesn't exist after external policy command was 438 # launched (the external command didn't add it), or if an error occured 439 # during the execution of the external policy command, the job is rejected. 443 # If the printer, user, or user quota entry still doesn't exist after 444 # external policy command was launched (the external command didn't add it), 445 # or if an error occured during the execution of the external policy 446 # command, then the job is rejected. 440 447 # 441 448 policy: deny