ROOTD(1)

NAME
rootd - The ROOT file server deamon

SYNOPSIS
rootd [options]

DESCRIPTION
This manual page documents briefly the root, program.

rootd is a ROOT remote file server daemon.

This small server is started either by inetd(8) when a client requests a connection to a rootd server or by hand (i.e. from the command line). The rootd server works with the ROOT TNetFile class. It allows remote access to ROOT database files in either read or write mode. By default TNetFile assumes port 1094 - which requires rootd to be started as root (the user, not the program).

STARTING VIA INETD
To run rootd via inetd(8) add the following line to /etc/services:

    rootd     1094/tcp

and to /etc/inetd.conf:

    rootd stream tcp nowait root <bindir>/rootd rootd -i

where <bindir> is the directory you have installed rootd in.

Force inetd(8) to reread its conf file with

    kill -HUP <pid inetd>

If you use SYSV init(8) scripts, you can probaly just do

    /etc/init.d/inetd restart

or whatever is appropiate for your system.

If you installed ROOT using some precompiled package (for example a Redhat Linux or a Debian GNU/Linux package), this may already be done for you.

STARTING BY HAND (NON-SUPERUSERS)
You can also start rootd by hand running directly under your private account (no root system priviliges needed). For example to start rootd listening on port 5151 just type:

    rootd -p 5151

Notice: no & is needed rootd will go in background by itself.

ANONYMOUS LOGINS
rootd can also be configured for anonymous usage (like anonymous ftp). To setup rootd to accept anonymous logins do the following (while being logged in as root):

Add the following line to /etc/passwd:

    rootd:*:71:72:Anonymous rootd:/var/spool/rootd:/bin/false

where you may modify the uid, gid (71, 72) and the home directory to suite your system. Add the following line to /etc/group:

    rootd:*:72:rootd

where the gid must match the gid in /etc/passwd
 Create the directories:

    /var/spool/rootd
    mkdir /var/spool/rootd/tmp
    chmod 777 /var/spool/rootd/tmp

Where /var/spool/rootd must match the rootd home directory as specified in the rootd /etc/passwd entry. To make writeable directories for anonymous do, for example:

    mkdir /var/spool/rootd/pub
    chown rootd:rootd /var/spool/rootd/pub

That's all.

If you installed ROOT using some precompiled package (for example a Redhat Linux or a Debian GNU/Linux package), this may already be done for you.

Several remarks:

*   You can login to an anonymous server either with the names anonymous or rootd.

*   The passwd should be of type user@host.domain Only the @ is enforced for the time being.

*   In anonymous mode the top of the file tree is set to the rootd home directory, therefore only files below the home directory can be accessed.

*   Anonymous mode only works when the server is started via inetd(8).

OPTIONS
-? Show summary of options.

-i  says we are started by inetd(8)

-p <port#>
    specifies port number to listen on

-d <level>
    level of debug info written to syslogd 0 = no debug (default), 1 = minimum, 2 = medium, 3 = maximum.

SEE ALSO
root(1), proofd(1)

For more information on the ROOT system, please refer to http://root.cern.ch

ORIGINAL AUTHORS
The ROOT team (see web page above):
    Rene Brun and Fons Rademakers

COPYRIGHT
ROOT Software Terms and Conditions

The authors hereby grant permission to use, copy, and distribute this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. Additionally, the authors grant permission to modify this software and its documentation for any purpose, provided that such modifications are not distributed without the explicit consent of the authors and that existing copyright notices are retained in all copies. Users of the software are asked to feed back problems, benefits, and/or suggestions about the software to the ROOT Development Team (rootdev@root.cern.ch). Support for this software - fixing of bugs, incorporation of new features - is done on a best effort basis. All bug fixes and enhancements will be made available under the same terms and conditions as the original software,

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

AUTHOR
This manual page was written by Christian Holm Christensen <cholm@nbi.dk>, for the Debian GNU/Linux system (but may be used by others).