#sudo vim /etc/xinetd.conf
insert below lines to xinetd.conf
# 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
# Use only_from if you want to restrict access
# only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
#sudo /etc/init.d/xinetd restart
insert below lines to xinetd.conf
http://localhost:901
browse swat login web page
沒有留言:
張貼留言