summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-12 03:39:42 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-12 03:39:42 +0000
commit8e708b150cf9c61f97d4cddd572e5a6b6b5f67ab (patch)
treeb1640218f9989188938dfd5bdd0fd6fae00b8c4d
parente5edc3e9f3008fbff8786be4650dd4e5aa7b152d (diff)
downloadsamba-8e708b150cf9c61f97d4cddd572e5a6b6b5f67ab.tar.gz
samba-8e708b150cf9c61f97d4cddd572e5a6b6b5f67ab.tar.bz2
samba-8e708b150cf9c61f97d4cddd572e5a6b6b5f67ab.zip
a brief description of how to install and run SWAT
(This used to be commit 349500965c7e10cb073e50fe4d4b2abc19a3df18)
-rw-r--r--swat/README85
1 files changed, 85 insertions, 0 deletions
diff --git a/swat/README b/swat/README
new file mode 100644
index 0000000000..1d2a15d196
--- /dev/null
+++ b/swat/README
@@ -0,0 +1,85 @@
+This is a brief description of how to install and use the Samba Web
+Administration Tool on your machine.
+
+Please note that SWAT is still being developed so you should not
+expect it to be bug free. You should only install and use it if you
+want to either get a preview of what we are doing with SWAT or you
+want to help in the development of SWAT.
+
+Installation
+------------
+
+After you compile SWAT you need to run "make install" to install the
+swat binary and the various help files and images. A default install
+would put these in:
+
+/usr/local/samba/bin/swat
+/usr/local/samba/swat/images/*
+/usr/local/samba/swat/help/*
+
+You then need to edit your /etc/inetd.conf and /etc/services to enable
+SWAT to be launched via inetd. Note that SWAT can also be launched via
+the cgi-bin mechanisms of a web server (such as apache) but that is
+not described here and has not been tested recently.
+
+In /etc/services you need to add a line like this:
+
+swat 901/tcp
+
+the choice of port number isn't really important except that it should
+be less than 1024 and not currently used (using a number above 1024
+presents an obscure security hole depending on the implementation
+details of your inetd daemon).
+
+In /etc/inetd.conf you should add a line like this:
+
+swat stream tcp nowait root /usr/local/samba/bin/swat swat
+
+If you just want to see a demo of ho swat works and don't want to be
+able to actually change any Samba config via swat then you may chose
+to change "root" to some other user that does not have permission to
+write to smb.conf.
+
+One you have edited /etc/services and /etc/inetd.conf you need to send
+a HUP signal to inetd. On many systems "killall -1 inetd" will do this
+on others you will need to use "kill -1 PID" where PID is the process
+ID of the inetd daemon.
+
+Launching
+---------
+
+To launch SWAT just run your favourite web browser and point it at
+http://localhost:901/
+
+Note that you can attach to SWAT from any IP connected machine but
+connecting from a remote machine leaves your connection open to
+password sniffing as passwords will be sent in the clear over the
+wire.
+
+You should be prompted for a username/password when you connect. You
+will need to provide the username "root" and the correct root
+password. More sophisticated authentication options are planned for
+future versions of SWAT.
+
+Running
+-------
+
+Just follow your nose! If you can't work out how to use it then maybe
+you should use "vi smb.conf" instead.
+
+
+WARNINGS
+--------
+
+SWAT will rewrite your smb.conf file. It will rearrange the entries
+and delete all comments, include= and copy= options. If you have a
+carefully crafted smb.conf then back it up or don't use SWAT!
+
+
+Development
+-----------
+
+Please join the samba-technical mailing list if you want to discuss
+the development of SWAT. Note that this list is for technical developer
+discussions and is not a general help list.
+