[ LUGOS ] swat
Borut Kurnik
borut.kurnik na add.si
Sre Maj 9 12:38:17 CEST 2001
Dodatek...
V /etc/xinetd.d/swat zakomentiraj se vrstico: only_from ...,
da bos lahko se od kod drugod pridrvel na swat.
Borut
-----------------------------------------------------------------------
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
# only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}
-----------------------------------------------------------------------
-----Original Message-----
From: Borut Kurnik [mailto:borut.kurnik na add.si]
Sent: Wednesday, May 09, 2001 12:32 PM
To: 'lugos-list na lugos.si'
Subject: RE: [ LUGOS ] swat
Haloha!
Pri xinetd je /etc/xinetd.d direktorij, konf. datoteka je /etc/xinetd.conf
V /etc/xinetd.d direktoriju naj bo datoteka swat
Primer (moj je neaktiven), lahko pa ga uporabis in kar pozenes: chkconfig
swat on , ki ti bo aktiviral swat
(popravil bo sicer le disable na no, mislim pa da ga je kar dobro
uporabljati -> standardizacija skript na init.d)
, nato pa kar ponovno zazeni xinetd (/etc/rc.d/init.d/xinetd restart) oz. ga
prisili, da ponovno vcita kofiguracijo
(reload).
Borut
/etc/xinetd.d/swat ->
-------------------------------------------------------------------
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = yes
}
---------------------------------------------------------------------
-----Original Message-----
From: Robert Feri [mailto:krneki10 na hotmail.com]
Sent: Wednesday, May 09, 2001 12:20 PM
To: lugos-list na lugos.si
Subject: [ LUGOS ] swat
Zivjo
Poinstaliral sem si sambo, skonfiguriral smb.conf, dodal potreben port 901
in protokol v /etc/services, v /etc/xinetd.d sem vpisal
swat stream tcp nowait root /usr/local/samba/bin/swat swat in restartal
daemon.
Skratka predelal sem vec manualov na to temo in probal skorajda vse, vendar
ko v browser napisem http://localhost:901/ mi vrne:
Alert!: Unexpected network error; connection aborted
Unable to access document
Je mozno, da vse dela vendar nimam potrebnih html datotek v swat direktoriju
?
Mimogrede apache deluje brez tezav na localhostu ...
LP
Robert
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Dodatne informacije o seznamu Starilist