Changeset 2115 for pykota/trunk/docs/repykota.sgml
- Timestamp:
- 02/28/05 01:07:37 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/docs/repykota.sgml
r1783 r2115 15 15 16 16 <para> 17 PyKota features a quota report generator, named < application>repykota</application>,17 PyKota features a quota report generator, named <command>repykota</command>, 18 18 with which you can print the current state of the quota database. 19 19 </para> 20 20 21 21 <para> 22 < application>repykota</application> behaves differently when it is launched by a22 <command>repykota</command> behaves differently when it is launched by a 23 23 <application>PyKota</application> administrator, compared to when it is launched by a normal user. 24 24 </para> … … 32 32 33 33 <para> 34 In the second case, i.e. when < application>repykota</application> is launched by34 In the second case, i.e. when <command>repykota</command> is launched by 35 35 a normal user, the user will only be allowed to see informations about himself or 36 36 the groups he his a member of. … … 45 45 46 46 <para> 47 Launching < application>repykota</application> with no arguments will generate47 Launching <command>repykota</command> with no arguments will generate 48 48 a complete print quota report, depending on what you are allowed to see. 49 49 </para> … … 118 118 If you install the CGI script as described above, any user will be allowed to view the complete print 119 119 quota report, for all users, groups and printers. This is then a different behavior compared to when 120 a normal user wants a print quota report from the command line through < application>repykota</application>.121 If you find this disturbing, then the best is to ask for user authentication whenever the < application>printquota.cgi</application>120 a normal user wants a print quota report from the command line through <command>repykota</command>. 121 If you find this disturbing, then the best is to ask for user authentication whenever the <command>printquota.cgi</command> 122 122 CGI script is accessed. This CGI script will then automatically behave as expected, showing in the print quota 123 report only what the authenticated user is allowed to see, just like when he launches < application>repykota</application>123 report only what the authenticated user is allowed to see, just like when he launches <command>repykota</command> 124 124 from the command line. As a special case, if the user authenticates using the <literal>root</literal> username, 125 125 then there's no restriction on what may appear on the print quota report. … … 129 129 To automatically ask for an authentication dialog whenever the CGI script is accessed, you have to configure 130 130 your web server to do so. If your webserver is <ulink url="http://httpd.apache.org"><application>Apache</application></ulink>, then it's relatively easy. First you have to put 131 < application>printquota.cgi</application> in its own subdirectory below your web server's <filename>cgi-bin</filename>132 directory, for example in <filename>cgi-bin/PyKota/</filename>. Then use the < application>htpasswd</application>131 <command>printquota.cgi</command> in its own subdirectory below your web server's <filename>cgi-bin</filename> 132 directory, for example in <filename>cgi-bin/PyKota/</filename>. Then use the <command>htpasswd</command> 133 133 command line tool to create a file which contains usernames and passwords for all your users allowed to see 134 134 the print quota report from a web browser, and put this file outside of the directories served by <application>Apache</application> … … 152 152 153 153 $Log$ 154 Revision 1.9 2005/02/28 00:07:37 jalet 155 Added pkmail's doc. 156 Used the <command> tag instead of <application> for commands. 157 Fixed some typos. 158 Added some missing command line options in the commands reference. 159 154 160 Revision 1.8 2004/10/06 10:03:16 jalet 155 161 Improved documentation