Show
Ignore:
Timestamp:
05/19/05 19:33:26 (19 years ago)
Author:
jerome
Message:

Added note about configuration files' permissions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/docs/installation.sgml

    r2231 r2261  
    707707     
    708708    <para> 
     709      On some systems, you may be able to strenghten permissions like this : 
     710      <screen> 
     711$ chown pykota.pykota ~pykota/pykota.conf       
     712$ chmod 640 ~pykota/pykota.conf       
     713$ chown pykota.pykota ~pykota/pykotadmin.conf       
     714$ chmod 600 ~pykota/pykotadmin.conf       
     715      </screen> 
     716    </para> 
     717     
     718    <para> 
     719      And on other ones, you may need to relax them, and change the files' owner : 
     720      <screen> 
     721$ chown lp.pykota ~pykota/pykota.conf       
     722$ chmod 640 ~pykota/pykota.conf       
     723$ chown lp.pykota ~pykota/pykotadmin.conf       
     724$ chmod 640 ~pykota/pykotadmin.conf       
     725      </screen> 
     726    </para> 
     727     
     728    <para> 
     729      This all depends on the printing system you are using, and the user the 
     730      printing system is usually running as. You need to remember two things : 
     731       
     732      <itemizedlist> 
     733        <listitem> 
     734          <para> 
     735            The user your printing system runs as MUST be allowed to read 
     736            both <application>PyKota</application>'s configuration files. 
     737          </para>   
     738        </listitem>   
     739        <listitem>         
     740          <para> 
     741            Any user who can read <filename>pykotadmin.conf</filename> 
     742            is a <application>PyKota</application> administrator, and 
     743            can do whatever he wants to the print quota database. 
     744          </para> 
     745        </listitem> 
     746      </itemizedlist>   
     747    </para> 
     748     
     749    <para> 
    709750      Don't forget to restart your print server sofware if you changed group membership for the user it runs 
    710751      as, otherwise your change wouldn't be taken into account.