SWAT

From MattWiki
Jump to: navigation, search

On Fedora 6 to install SWAT via yum run:

yum -y install samba-swat

Or via smart

smart install samba-swat

SWAT is not configured to start.

vim /etc/xinetd.d/swat

You will see a scree similer to this.

# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
service swat
{
        port            = 901
        socket_type     = stream
        wait            = no
        only_from       = 127.0.0.1
        user            = root
        server          = /usr/sbin/swat
        log_on_failure  += USERID
        disable         = yes
}

To enable swat change disable to no

        disable         = no

To allow access to swat from other computers then just the local host change only_from.

        only_from       = 192.168.1.0/24

or for a larger network

        only_from       = 192.168.0.0/16