Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/cups-1.3.7/help/ drwxr-xr-x |
Viewing file: ref-classes-conf.html (14.73 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | The CUPS scheduler (cupsd) uses the /etc/cups/classes.conf file to store the list of available classes. This file contains only locally defined classes, not remote classes that are created automatically via browsing. Each directive is listed on a line by itself followed by its value. Comments are introduced using the number sign ("#") character at the beginning of a line. While the class configuration file consists of plain text and can be modified using your favorite text editor, you should normally use the lpadmin(8) command, web interface, or any of the available GUIs to manage your classes instead. If you do choose to edit this file manually, you will need to restart the scheduler to make them active. AcceptingExamples<Class name> ... Accepting yes </Class> DescriptionThe /usr/sbin/accept classname /usr/sbin/reject classname This directive must appear inside a AllowUserExamples<Class name> ... AllowUser foo_user AllowUser @bar_group </Class> DescriptionThe /usr/sbin/lpadmin -p classname -u allow:foo_user,@bar_group This directive must appear inside a ClassExamples<Class name> ... </Class> DescriptionThe /usr/sbin/lpadmin -p printername -c classname DefaultClassExamples<DefaultClass name> ... </Class> DescriptionThe /usr/sbin/lpadmin -d classname Note that the server default destination settings can be
overridden by the user's default destination settings which are
normally set using the DenyUserExamples<Class name> ... DenyUser foo_user DenyUser @bar_group </Class> DescriptionThe /usr/sbin/lpadmin -p classname -u deny:foo_user,@bar_group This directive must appear inside a CUPS 1.2ErrorPolicyExamples<Class name> ... ErrorPolicy abort-job </Class> DescriptionThe /usr/sbin/lpadmin -p classname -o printer-error-policy=stop-printer The following values are supported:
This directive must appear inside a InfoExamples<Class name> ... Info My Class </Class> DescriptionThe /usr/sbin/lpadmin -p classname -D "My Class" This directive must appear inside a JobSheetsExamples<Class name> ... JobSheets none,standard </Class> DescriptionThe /usr/sbin/lpadmin -p classname -o job-sheets-default=none,standard If only one banner file is specified, it will be printed before the files in the job. If a second banner file is specified, it is printed after the files in the job. The available banner pages depend on the local system configuration; CUPS includes the following standard banner files:
This directive must appear inside a KLimitExamples<Class name> ... KLimit 1234 </Class> DescriptionThe /usr/sbin/lpadmin -p classname -o job-k-limit=1234 This directive must appear inside a LocationExamples<Class name> ... Location Building 3321 </Class> DescriptionThe /usr/sbin/lpadmin -p classname -L "Building 3321" This directive must appear inside a CUPS 1.2OpPolicyExamples<Class name> ... OpPolicy default </Class> DescriptionThe /usr/sbin/lpadmin -p classname -o printer-op-policy=default The default policy is named "default". All policies correspond
to those defined using the cupsd.conf This directive must appear inside a CUPS 1.2OptionExamples<Class name> ... Option name value Option scaling 100 Option page-left 72 </Class> DescriptionThe This directive must appear inside a PageLimitExamples<Class name> ... PageLimit 1234 </Class> DescriptionThe /usr/sbin/lpadmin -p classname -o job-page-limit=1234 This directive must appear inside a PrinterExamples<Class name> ... Printer foo Printer bar Printer bleep </Class> DescriptionThe /usr/sbin/lpadmin -p printername -c classname This directive must appear inside a QuotaPeriodExamples<Class name> ... QuotaPeriod 604800 </Class> DescriptionThe /usr/sbin/lpadmin -p classname -o job-quota-period=604800 This directive must appear inside a CUPS 1.2SharedExamples<Class name> ... Shared yes </Class> DescriptionThe /usr/sbin/lpadmin -p classname -o printer-is-shared=true This directive must appear inside a StateExamples<Class name> ... State idle </Class> DescriptionThe /usr/sbin/cupsenable classname /usr/sbin/cupsdisable classname This directive must appear inside a StateMessageExamples<Class name> ... StateMessage Ready to print. </Class> DescriptionThe StateMessage Connected to host_name... StateMessage Connecting to printer_queue on port port_number... StateMessage Network host host_name is busy; will retry in 30 seconds... StateMessage Class busy; will retry in 10 seconds... StateMessage Class is busy; retrying print job... StateMessage Print file accepted - job ID id_number. StateMessage Ready to print. StateMessage Waiting for job to complete This directive must appear inside a CUPS 1.2StateTimeExamples<Class name> ... StateTime 1133542425 </Class> DescriptionThe This directive must appear inside a |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0062 ]-- |