Installation command explanations
mkdir /var/www, mkdir /var/www/swat :
Directories needed for Samba Web Administration tool.
--sysconfigdir=/etc/samba :
Samba configuration file directory.
--with-privatedir=/etc/samba/private :
Location of Samba smbpasswd and
secrets.tdb file.
--with-swatdir=/var/www/swat :
Location of Samba Web Administration Tool files.
echo "swat 901/tcp" >> /etc/services :
Register the swat service to run on port 901.
echo "swat stream tcp nowait.400 root /usr/sbin/swat
swat" >> /etc/inetd.conf :
Instruct inetd where to find and how to run swat.