Administration Tool (SWAT)


Administration Tool (SWAT). For someone setting up Samba for the first time, SWAT is a good way to get it up and running.


NOTE
If your Linux installation does not have help documents for Samba available, consult the documentation on the Samba project home page (www·samba·org). Also, check the extensive help information that comes with SWAT.


Configuring Samba with SWAT


In addition to offering an extensive interface to Samba options, SWAT comes with an excellent help facility. And if you need to administer Samba from another computer, SWAT can be configured to be remotely accessible and secured by requiring an administrative login and password.


Turning on the SWAT Service


Before you can use SWAT, you must do some configuration. The first thing you must do is turn on the SWAT service, which is done differently in different Linux distributions.
Here's how to set up SWAT in Fedora and other Red Hat Linux systems:
1. Turn on the SWAT service by typing the following, as root user, from a Terminal window:
# chkconfig swat on
2. Pick up the change to the service by restarting the xinetd startup script as follows:
# service xinetd restart


Linux distributions such as Debian, Slackware, and Gentoo turn on the SWAT service from the inetd superserver daemon. After SWAT is installed, you simply remove the comment character from in front of the swat line in the /etc/inetd.conf file (as root user, using any text editor) and restart the daemon. Here's an example of what the swat line looks like in Debian: swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat


The continuation/full version of this article read on site www.podgrid.org - Linux Bible


Menu

Vacancies