ROOTD(1) ROOTD(1)
NAME
rootd - The ROOT file(1,n) server deamon
SYNOPSIS
rootd [options]
DESCRIPTION
This manual page documents briefly the root, program.
rootd is a ROOT remote file(1,n) 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(2,5) to ROOT database files in(1,8) either read(2,n,1 builtins) or write(1,2) 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(3,5) file(1,n) with
kill(1,2,1 builtins) -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(1,8) background by itself.
ANONYMOUS LOGINS
rootd can also be configured for anonymous usage (like anonymous ftp).
To setup(2,8) rootd to accept(2,8) anonymous logins do the following (while being
logged in(1,8) 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(1,8) /etc/passwd(1,5)
Create the directories:
/var/spool/rootd
mkdir(1,2) /var/spool/rootd/tmp
chmod(1,2) 777 /var/spool/rootd/tmp
Where /var/spool/rootd must match the rootd home directory as specified
in(1,8) the rootd /etc/passwd(1,5) entry. To make writeable directories for
anonymous do, for example:
mkdir(1,2) /var/spool/rootd/pub
chown(1,2) 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(1,3,5) to an anonymous server either with the names
anonymous or rootd.
* The passwd(1,5) should be of type user@host.domain Only the @ is
enforced for the time(1,2,n) being.
* In anonymous mode the top of the file(1,n) tree is set(7,n,1 builtins) 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(1,2,7) on
-d <level>
level of debug info(1,5,n) 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(1,8) all copies and that this notice is
included verbatim in(1,8) any distributions. Additionally, the authors grant
permission to modify this software and its documentation for any pur-
pose, provided that such modifications are not distributed without the
explicit consent of the authors and that existing copyright notices are
retained in(1,8) 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 DE-
RIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSI-
BILITY OF SUCH DAMAGE.
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABIL-
ITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFT-
WARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS
HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCE-
MENTS, 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).
ROOT Version 3 ROOTD(1)