I was interested in running Samba's SWAT tool to configure Samba on my Jaguar system. This allows you to view and change the configuration of your Samba sharing in any web browser. You can run SWAT from xinetd or inetd; I chose to use xinetd. Here's how I did it...
Steps to take
sudo vi /etc/xinetd.d/swat
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
groups = yes
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = No
}
swat 901/tcp
sudo kill -HUP `cat /var/run/xinetd.pid`Sometimes xinetd doesn't restart here; if a ps -ax doesn't show xinetd, then use this command to restart xinetd
sudo xinetd -pidfile /var/run/xinetd.pid
Mac OS X Hints
http://hints.macworld.com/article.php?story=2002090605375018