Configuring Samba Using SWAT

The Samba team of developers has made administering Samba much easier with the Samba Web Administration Tool (SWAT). SWAT is a web-based configuration and maintenance interface that gets as close to a point-and-click Samba environment as possible. This section provides a simple example of how to use SWAT to set up SMB access to a user’s /home directory and how to share a directory.


You need to enable the root account by giving it a password by using the command sudo passwd root. Not enabling the root account prevents you from using SWAT effectively.

You need to perform a few steps before you can start using SWAT. First, make sure you have the Samba and the swat packages installed. You then enable SWAT access ...

Get Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.