Hello,

I was reading an article on rootprompt
(http://www.rootprompt.org/article.php3?article=903)
about security.  Among other things, the author mentions:

T"he magic words are to add -nolisten tcp to the incantation that actually
starts the xserver (you can add gamma correction here too, btw.). This will close
port 6000. The xdm port is closed by adding -udpPort 0 to it's startup command.
Now you only have to find those commands. You'll get an interesting tour of the
file system while doing so, since X is a collection of aliases that call scripts
that call managers that call other scripts that activate daemons that start
servers, all under the control of various configuration files. In my case I found the
command to start the X server in /etc/X11/xdm/Xservers and xdm/kdm/gdm in is
actually in /etc/inittab. "

I tried adding the '-nolisten tcp' line where he mentioned and restart X, but
nmap from another machine and netstat both tell me it's open.  Any suggestions>

Matt

-- 
 [EMAIL PROTECTED]
 free cds - http://linux.fotter.com
 up 22 hours 42 minutes


Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to