Changeset 2260 for pykota

Show
Ignore:
Timestamp:
05/19/05 18:52:16 (20 years ago)
Author:
jerome
Message:

Added some informations wrt systems on which CUPS doesn't run as root

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/FAQ

    r2146 r2260  
    3838    It's probably best to do this : 
    3939     
    40         $ chown pykota.pykota pykota.conf pykotadmin.conf 
    41         $ chmod 640 pykota.conf 
    42         $ chmod 600 pykotadmin.conf 
     40        $ chown pykota.pykota ~pykota/pykota.conf ~pykota/pykotadmin.conf 
     41        $ chmod 640 ~pykota/pykota.conf 
     42        $ chmod 600 ~pykota/pykotadmin.conf 
    4343         
    4444    Then the user 'pykota' will be the only PyKota Administrator     
     
    4747    like repykota. 
    4848     
     49    But on some systems, the following may be needed instead : 
     50       
     51        $ chown lp.pykota pykota.conf pykotadmin.conf 
     52        $ chmod 640 pykota.conf 
     53        $ chmod 640 pykotadmin.conf 
     54         
    4955  * How can I limit my users to N pages per day (month/year) ? 
    5056   
  • pykota/trunk/SECURITY

    r2146 r2260  
    4949    Debian you may want to do :  
    5050     
    51         $ chown pykota.pykota pykota.conf pykotadmin.conf     
    52         $ chmod 640 pykota.conf 
    53         $ chmod 600 pykotadmin.conf 
     51        $ chown pykota.pykota ~pykota/pykota.conf ~pykota/pykotadmin.conf     
     52        $ chmod 640 ~pykota/pykota.conf 
     53        $ chmod 600 ~pykota/pykotadmin.conf 
    5454         
    5555    Depending on your needs, you may want to put the user the printing  
     
    5858    For example :  
    5959     
    60         $ chmod 640 pykotadmin.conf 
     60        $ chmod 640 ~pykota/pykotadmin.conf 
    6161        $ adduser lp pykota 
    6262          (this makes user 'lp' a member of group 'pykota') 
    6363     
     64    Another solution, needed on some systems : 
     65     
     66        $ chmod a+rx ~pykota/ 
     67        $ chown lp.pykota ~pykota/pykota.conf ~pykota/pykotadmin.conf  
     68         
    6469    Letting any user read PyKota administrator's configuration file may  
    6570    expose passwords or database information which would allow write