Changeset 599 for trunk/README

Show
Ignore:
Timestamp:
12/07/06 13:20:43 (4 years ago)
Author:
lars
Message:

constant width of the main screen (works for mozilla/ff and ie55/60
refresh link for logs feature
change default setting of UseConfigPartition? to "0"
README file rewritten
README.samba added
README.davfs added
README.Debian rewritten
event scripts for samba and apach2_dav improved
do not redirect to "disks overview" after successful plugin execution (e.g. date, ...)
unclean web dataset fixed
removed some non-translateable strings from po and pot files
automatically update the cryptobox version according to the debian package version number

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        22dist 
        33MANIFEST 
        4  
         4ttt 
         5*.pyc 
  • trunk/README

    • Property svn:keywords set to Id
    r556 r599  
     1******************************************** 
     2*          CryptoBox v0.2.99               * 
     3******************************************** 
     4 
    15$Id$ 
    2 CryptoBox version 0.3 
    36 
    4 1) Documentation 
    5 The documentation is available at https://systemausfall.org/trac/cryptobox/wiki/CryptoBoxUser 
     7This file describes the webserver CryptoBox. 
     8The CryptoBox enables you to control the plaintext or encrypted harddisks of 
     9your server via a webinterface. 
     10Read on if you want to install the CryptoBox-server package on your computer. 
    611 
    7 2) Building a LiveCD 
    8 try: "scripts/cbox-build.sh release" 
    9 or look at the developer's documentation: https://systemausfall.org/trac/cryptobox/wiki/CryptoBoxDev 
     12For more information, see the website: 
     13        http://cryptobox.org 
    1014 
    11 3) Bug reporting 
    12 Use our issue tracker at https://systemausfall.org/trac/cryptobox/newticket 
     15Table of contents: 
     16        1) Requirements 
     17        2) Installation 
     18        3) Setup 
     19        4) Usage 
     20        5) Development 
     21        6) Acknowledgements 
     22        7) Licence 
    1323 
    14 4) Licence 
     24-------------------------------------------- 
     25 
     261) Requirements 
     27        - Linux 2.6 
     28        - super (to selectively gain root privileges) 
     29        - Python 2.4 
     30        - some python packages: 
     31                clearsilver 0.10 for python 
     32                python-configobj 4.x 
     33                cherrypy 2.x 
     34 
     35 
     362) Installation 
     37For Debian, Ubuntu and other derivates you should use the debian package: 
     38        see https://systemausfall.org/toolforge/debian/ 
     39 
     40There are currently no official rpm packages of the CryptoBox. 
     41 
     42For source installation follow these steps: 
     43        Get the source: 
     44                http://cryptobox.org/download 
     45 
     46        Extract tarball and change to the new directory: 
     47                tar xzf cryptobox-0.?.?.tar.gz 
     48 
     49        Install the program: 
     50                python setup.by install 
     51 
     52The installed files can be found in your local python installation directory. 
     53The default location should be: 
     54        /usr/lib/python2.4/site-packages/cryptobox 
     55 
     56As some actions of the cryptobox require root privileges, you have to add the 
     57following line to /etc/super.tab: 
     58        CryptoBoxRootActions    /usr/bin/CryptoBoxRootActions   cryptobox 
     59The script /usr/bin/CryptoBoxRootActions is used to execute all actions 
     60requiring root privileges. Please check it to make sure, that your system will 
     61not get compromised. 
     62 
     63 
     643) Setup 
     65 
     66 a) Start at bootup 
     67        Set NO_START in /etc/default/cryptobox-server to "0". 
     68        The CryptoBox webserver will get started by its runlevel control script 
     69        after during booting. 
     70 
     71 b) Define managed devices 
     72        You may restrict which blockdevices should be accessible to the CryptoBox. 
     73        Simply set [Main]->AllowedDevices in /etc/cryptobox-server/cryptobox.conf 
     74        to a comma separated list of device prefixes: e.g. /dev/sd gives access to 
     75        all SCSI devices, while /dev/hda3 restricts it to this single partition. 
     76        The user executing the webserver (by default: 'cryptobox') must have write 
     77        access to these devices. Usually the cryptobox user is member of the 'disk' 
     78        group. This gives control over most devices. 
     79        Be careful with this setting, as you may expose important data to public 
     80        read and write access. 
     81 
     82 c) Listening port and interface 
     83        By default, the CryptoBox webserver listens to tcp port 8080 on all network 
     84        interfaces. You can change this setting in /etc/default/cryptobox-server. 
     85        Also take a look at your firewall settings. 
     86 
     87 d) Disable plugins 
     88        The CryptoBox contains a lot of plugins. As some of them could expose 
     89        unwanted features to your users, you should carefully select which plugins 
     90        to disable. 
     91        Quite likely candidates for disabling are: 
     92                - shutdown: poweroff or reboot the computer 
     93                - network: change IP, gateway or dns settings of the server 
     94                - partition: partition blockdevices 
     95                - volume_format_fs: format a disk/partition (plaintext/encrypted) 
     96        Take a look at /usr/share/cryptobox-server/plugins for the list of 
     97        other plugins. 
     98        The setting [Main]->DisabledPlugins in /etc/cryptobox-server/cryptobox.conf 
     99        is a comma separated list of plugin names. Capitalization is important! 
     100 
     101 e) Separate configuration partition 
     102        The CryptoBox webserver requires a writeable directory for proper 
     103        operation. If your root filesystem is not writeable (e.g. booting from a 
     104        cdrom, read-only mounted flash memory, ...) you may use a seperated 
     105        partition to store runtime settings. The CryptoBox will automatically 
     106        creates it, when you use partition one of your disks with its interface. 
     107        The setting [Main]->UseConfigPartition (see 
     108        /etc/cryptobox-server/cryptobox.conf) defines, whether you want to use a 
     109        separate partition (value "1") or if you want to store your runtime 
     110        settings in the root filesystem (typically below 
     111        /var/cache/cryptobox-server). 
     112 
     113 f) Samba/WebDAV/NFS/??? integration (aka. event script handling) 
     114        The CryptoBox allows you to add event handling scripts for most of the 
     115        interesting events: bootup/shutdown of the webserver and mount/umount 
     116        of single volumes. 
     117        If you want to automatically publish your mounted volumes with samba 
     118        or similar fileservers, then you should take a closer look at the 
     119        example scripts for samba and apache-webdav in 
     120        /usr/share/doc/cryptobox-server/event-scripts. 
     121        You may also just publish the mount directory of the CryptoBox. This 
     122        will expose all mounted volumes very easily. Review the configuration 
     123        file for the setting [Locations]->MountParentDir. 
     124 
     125 g) Take a close look at the configuration file to check all other options 
     126        before you start the CryptoBox webserver. 
     127 
     128 
     1294) Usage 
     130Use your favourite web browser to go to http://localhost:8080 and browse the 
     131webinterface of the CryptoBox. 
     132Some parts of the interface are restricted to administrative access. The 
     133default access combination is the user 'admin' and the password 'admin'. Please 
     134change this setting immediately. 
     135The plugin 'user_manager' allows you to add users and to change passwords. 
     136The plugin 'plugin_manager' lets you configure, which plugins require 
     137administrative authentication. 
     138 
     139The user manual (available via the 'help' plugin) should give you exhaustive 
     140usage information. 
     141The current version of the online manual is available at: 
     142        https://systemausfall.org/trac/cryptobox/wiki/CryptoBoxUser 
     143 
     144 
     1455) Development 
     146bug reports: please use our issue tracker 
     147        https://systemausfall.org/trac/cryptobox/newticket 
     148 
     149email: 
     150        cryptobox@systemausfall.org 
     151 
     152The CryptoBox project is mainly driven by sense.lab (http://senselab.org). 
     153 
     154 
     1556) Acknowledgements 
     156Besides the core development team, these people helped a lot: 
     157Clavdia Horvat, Tadej Brce & DuÅ¡an Rebolj - slovenian translation 
     158rike - french translation 
     159 
     160We also want to thank the numerous developers of the Free Software, the 
     161CryptoBox depends on and that was used in development. 
     162 
     163 
     1647) Licence 
    15165All scripts are GPL code (v2.0 or above). 
    16166The documentation is licenced under "Creative Commons 2.5 share-alike" (http://creativecommons.org/licenses/by-sa/2.5/). 
    17167 
    18 5) Contributors 
    19 Clavdia Horvat, Tadej Brce & DuÅ¡an Rebolj - slovenian translation 
    20  
    21 6) Contact 
    22 email: cryptobox@systemausfall.org 
    23  
    24 The CryptoBox project is mainly driven by sense.lab (https://systemausfall.org/senselab).