Prev | Current Page 1323 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

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
With the SWAT service ready to be activated, restart the inetd daemon so it rereads the
inetd.conf file. To do that in Debian, type the following as root user:
# /etc/init.d/inetd restart
The init.d script and xinetd services are the two ways that SWAT services are generally started
in Linux. So if you are using a Linux distribution other than Fedora or Debian, look in the
/etc/inetd.conf file or /etc/xinetd.d directory (which is used automatically in Fedora),
for the location of your SWAT service.
When you have finished this procedure, a daemon process will be listening on your network interfaces
for requests to connect to your SWAT service. You can now use the SWAT program, described
in the next section, to configure Samba.
NOTE
730
Running Servers Part V
Starting with SWAT
You can run the SWAT program by typing the following URL in your local browser:
http://localhost:901/
Enter the root username and password when the browser prompts you. The SWAT window (see
Figure 27-2) appears.
FIGURE 27-2
Use SWAT from your browser to manage your Samba configuration.
Instead of running SWAT from your local browser, you can run it from another computer
on the network by substituting the server computer??™s name for localhost.


Pages:
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335