[Dxspider-support] Problems with running spider with user-rights

Dirk Koopman djk at tobit.co.uk
Tue Dec 23 12:38:41 GMT 2003


On Tue, 2003-12-23 at 09:36, Markus Fackler wrote:
> Hello,
> 
> I'm new with DX-Spider.
> I have setup the DX-Cluster DB0CZ-6 with DX-Spider now.
> But I have a problem when running DX-Spider with User rights.
> 
> When I start ./cluster.pl as root ther is no problem.
> But when I start ist witk su- sysop ther are some messages like this 
> wihle connecting:
> 
> setsockopt tcp_nodelay: Permission denied.
> 
> Does anyone know where I have to set some rights diffrent from now.

Please, PLEASE don't run the software as root.

I don't know of any exploits, but I would not be completely surprised if
there was one. Running as root is a recipe for problems.

Please, as root, do:-

# cd /spider
# chown -R sysop.sysop .
# chmod -R u+rw .
# chmod -R g+rw .
# find . -type d -exec chmod 02775 {} \;

Then make sure that the cluster.pl starts as owned by user 'sysop' (in
this case, as you are using that user name).

One, probably non-obvious, problem is that you cannot use port 23 on a
unix box as the main access port for 'telnet' style access. This can
only be done as 'root' and I specifically ask you not to do that. We
tend to use 7300 or 8110 (clx standard?). Also you cannot have clx
running on port 8110 and have spider use the same port at the same time.

Let us know how you get on.

73, Merry Xmas and a HNY

Dirk G1TLH





More information about the Dxspider-support mailing list