Troubleshooting
SWAT doesn't appear to be working for me. When I type http://localhost:901, I get a connection refused error.
Ensure you have an entry in /etc/services like this:
swat 901/tcp # Samba Web Administration Tool
Also ensure you have an entry in /etc/inetd.conf like this:
swat stream tcp nowait.400 root /usr/sbin/tcpd swat
Stop and start inetd:
/etc/rc.d/init.d/inet stop && /etc/rc.d/init.d/inet start
Grep netstat's output for an open port 901:
netstat -an | grep 901 tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
If the results of the first line above yield the second line, you should get a login prompt from swat.
I get a login prompt, but I am denied access.
Make sure you are logging in as root exactly as you would if you were logging ...
Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.