1 |
patrick 10/03/01 16:19:57 |
2 |
|
3 |
Added: smb.conf.default nsswitch.conf-wins lmhosts |
4 |
system-auth-winbind.pam samba.confd smbusers |
5 |
samba.initd nsswitch.conf-winbind samba.pam |
6 |
swat.xinetd |
7 |
Log: |
8 |
Bump to monolithic 3.5 |
9 |
(Portage version: 2.2_rc63/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 net-fs/samba/files/3.5/smb.conf.default |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/smb.conf.default?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/smb.conf.default?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: smb.conf.default |
18 |
=================================================================== |
19 |
# This is the main Samba configuration file. You should read the |
20 |
# smb.conf(5) manual page in order to understand the options listed |
21 |
# here. Samba has a huge number of configurable options (perhaps too |
22 |
# many!) most of which are not shown in this example |
23 |
# |
24 |
# For a step to step guide on installing, configuring and using samba, |
25 |
# read the Samba-HOWTO-Collection. This may be obtained from: |
26 |
# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf |
27 |
# |
28 |
# Many working examples of smb.conf files can be found in the |
29 |
# Samba-Guide which is generated daily and can be downloaded from: |
30 |
# http://www.samba.org/samba/docs/Samba-Guide.pdf |
31 |
# |
32 |
# Any line which starts with a ; (semi-colon) or a # (hash) |
33 |
# is a comment and is ignored. In this example we will use a # |
34 |
# for commentry and a ; for parts of the config file that you |
35 |
# may wish to enable |
36 |
# |
37 |
# NOTE: Whenever you modify this file you should run the command "testparm" |
38 |
# to check that you have not made any basic syntactic errors. |
39 |
# |
40 |
#======================= Global Settings ===================================== |
41 |
[global] |
42 |
|
43 |
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH |
44 |
workgroup = MYGROUP |
45 |
|
46 |
# server string is the equivalent of the NT Description field |
47 |
server string = Samba Server |
48 |
|
49 |
# Security mode. Defines in which mode Samba will operate. Possible |
50 |
# values are share, user, server, domain and ads. Most people will want |
51 |
# user level security. See the Samba-HOWTO-Collection for details. |
52 |
security = user |
53 |
|
54 |
# This option is important for security. It allows you to restrict |
55 |
# connections to machines which are on your local network. The |
56 |
# following example restricts access to two C class networks and |
57 |
# the "loopback" interface. For more examples of the syntax see |
58 |
# the smb.conf man page |
59 |
; hosts allow = 192.168.1. 192.168.2. 127. |
60 |
|
61 |
# If you want to automatically load your printer list rather |
62 |
# than setting them up individually then you'll need this |
63 |
load printers = yes |
64 |
|
65 |
# you may wish to override the location of the printcap file |
66 |
; printcap name = /etc/printcap |
67 |
|
68 |
# on SystemV system setting printcap name to lpstat should allow |
69 |
# you to automatically obtain a printer list from the SystemV spool |
70 |
# system |
71 |
; printcap name = lpstat |
72 |
|
73 |
# It should not be necessary to specify the print system type unless |
74 |
# it is non-standard. Currently supported print systems include: |
75 |
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx |
76 |
; printing = cups |
77 |
|
78 |
# Uncomment this if you want a guest account, you must add this to /etc/passwd |
79 |
# otherwise the user "nobody" is used |
80 |
; guest account = pcguest |
81 |
|
82 |
# this tells Samba to use a separate log file for each machine |
83 |
# that connects |
84 |
log file = /var/log/samba/log.%m |
85 |
|
86 |
# Put a capping on the size of the log files (in Kb). |
87 |
max log size = 50 |
88 |
|
89 |
# Use password server option only with security = server |
90 |
# The argument list may include: |
91 |
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] |
92 |
# or to auto-locate the domain controller/s |
93 |
# password server = * |
94 |
; password server = <NT-Server-Name> |
95 |
|
96 |
# Use the realm option only with security = ads |
97 |
# Specifies the Active Directory realm the host is part of |
98 |
; realm = MY_REALM |
99 |
|
100 |
# Backend to store user information in. New installations should |
101 |
# use either tdbsam or ldapsam. smbpasswd is available for backwards |
102 |
# compatibility. tdbsam requires no further configuration. |
103 |
; passdb backend = tdbsam |
104 |
|
105 |
# Using the following line enables you to customise your configuration |
106 |
# on a per machine basis. The %m gets replaced with the netbios name |
107 |
# of the machine that is connecting. |
108 |
# Note: Consider carefully the location in the configuration file of |
109 |
# this line. The included file is read at that point. |
110 |
; include = /etc/samba/smb.conf.%m |
111 |
|
112 |
# Configure Samba to use multiple interfaces |
113 |
# If you have multiple network interfaces then you must list them |
114 |
# here. See the man page for details. |
115 |
; interfaces = 192.168.12.2/24 192.168.13.2/24 |
116 |
|
117 |
# Browser Control Options: |
118 |
# set local master to no if you don't want Samba to become a master |
119 |
# browser on your network. Otherwise the normal election rules apply |
120 |
; local master = no |
121 |
|
122 |
# OS Level determines the precedence of this server in master browser |
123 |
# elections. The default value should be reasonable |
124 |
; os level = 33 |
125 |
|
126 |
# Domain Master specifies Samba to be the Domain Master Browser. This |
127 |
# allows Samba to collate browse lists between subnets. Don't use this |
128 |
# if you already have a Windows NT domain controller doing this job |
129 |
; domain master = yes |
130 |
|
131 |
# Preferred Master causes Samba to force a local browser election on startup |
132 |
# and gives it a slightly higher chance of winning the election |
133 |
; preferred master = yes |
134 |
|
135 |
# Enable this if you want Samba to be a domain logon server for |
136 |
# Windows95 workstations. |
137 |
; domain logons = yes |
138 |
|
139 |
# if you enable domain logons then you may want a per-machine or |
140 |
# per user logon script |
141 |
# run a specific logon batch file per workstation (machine) |
142 |
; logon script = %m.bat |
143 |
# run a specific logon batch file per username |
144 |
; logon script = %U.bat |
145 |
|
146 |
# Where to store roving profiles (only for Win95 and WinNT) |
147 |
# %L substitutes for this servers netbios name, %U is username |
148 |
# You must uncomment the [Profiles] share below |
149 |
; logon path = \\%L\Profiles\%U |
150 |
|
151 |
# Windows Internet Name Serving Support Section: |
152 |
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server |
153 |
; wins support = yes |
154 |
|
155 |
# WINS Server - Tells the NMBD components of Samba to be a WINS Client |
156 |
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both |
157 |
; wins server = w.x.y.z |
158 |
|
159 |
# WINS Proxy - Tells Samba to answer name resolution queries on |
160 |
# behalf of a non WINS capable client, for this to work there must be |
161 |
# at least one WINS Server on the network. The default is NO. |
162 |
; wins proxy = yes |
163 |
|
164 |
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names |
165 |
# via DNS nslookups. The default is NO. |
166 |
dns proxy = no |
167 |
|
168 |
# These scripts are used on a domain controller or stand-alone |
169 |
# machine to add or delete corresponding unix accounts |
170 |
; add user script = /usr/sbin/useradd %u |
171 |
; add group script = /usr/sbin/groupadd %g |
172 |
; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u |
173 |
; delete user script = /usr/sbin/userdel %u |
174 |
; delete user from group script = /usr/sbin/deluser %u %g |
175 |
; delete group script = /usr/sbin/groupdel %g |
176 |
|
177 |
|
178 |
#============================ Share Definitions ============================== |
179 |
[homes] |
180 |
comment = Home Directories |
181 |
browseable = no |
182 |
writable = yes |
183 |
|
184 |
# Un-comment the following and create the netlogon directory for Domain Logons |
185 |
; [netlogon] |
186 |
; comment = Network Logon Service |
187 |
; path = /var/lib/samba/netlogon |
188 |
; guest ok = yes |
189 |
; writable = no |
190 |
; share modes = no |
191 |
|
192 |
|
193 |
# Un-comment the following to provide a specific roving profile share |
194 |
# the default is to use the user's home directory |
195 |
;[Profiles] |
196 |
; path = /var/lib/samba/profiles |
197 |
; browseable = no |
198 |
; guest ok = yes |
199 |
|
200 |
|
201 |
# NOTE: If you have a BSD-style print system there is no need to |
202 |
# specifically define each individual printer |
203 |
[printers] |
204 |
comment = All Printers |
205 |
path = /var/spool/samba |
206 |
browseable = no |
207 |
# Set public = yes to allow user 'guest account' to print |
208 |
guest ok = no |
209 |
writable = no |
210 |
printable = yes |
211 |
|
212 |
# This one is useful for people to share files |
213 |
;[tmp] |
214 |
; comment = Temporary file space |
215 |
; path = /tmp |
216 |
; read only = no |
217 |
; public = yes |
218 |
|
219 |
# A publicly accessible directory, but read only, except for people in |
220 |
# the "staff" group |
221 |
;[public] |
222 |
; comment = Public Stuff |
223 |
; path = /home/samba |
224 |
; public = yes |
225 |
; writable = yes |
226 |
; printable = no |
227 |
; write list = @staff |
228 |
|
229 |
# Other examples. |
230 |
# |
231 |
# A private printer, usable only by fred. Spool data will be placed in fred's |
232 |
# home directory. Note that fred must have write access to the spool directory, |
233 |
# wherever it is. |
234 |
;[fredsprn] |
235 |
; comment = Fred's Printer |
236 |
; valid users = fred |
237 |
; path = /homes/fred |
238 |
; printer = freds_printer |
239 |
; public = no |
240 |
; writable = no |
241 |
; printable = yes |
242 |
|
243 |
# A private directory, usable only by fred. Note that fred requires write |
244 |
# access to the directory. |
245 |
;[fredsdir] |
246 |
; comment = Fred's Service |
247 |
; path = /usr/somewhere/private |
248 |
; valid users = fred |
249 |
; public = no |
250 |
; writable = yes |
251 |
; printable = no |
252 |
|
253 |
# a service which has a different directory for each machine that connects |
254 |
# this allows you to tailor configurations to incoming machines. You could |
255 |
# also use the %U option to tailor it by user name. |
256 |
# The %m gets replaced with the machine name that is connecting. |
257 |
;[pchome] |
258 |
; comment = PC Directories |
259 |
; path = /usr/pc/%m |
260 |
; public = no |
261 |
; writable = yes |
262 |
|
263 |
# A publicly accessible directory, read/write to all users. Note that all files |
264 |
# created in the directory by users will be owned by the default user, so |
265 |
# any user with access can delete any other user's files. Obviously this |
266 |
# directory must be writable by the default user. Another user could of course |
267 |
# be specified, in which case all files would be owned by that user instead. |
268 |
;[public] |
269 |
; path = /usr/somewhere/else/public |
270 |
; public = yes |
271 |
; only guest = yes |
272 |
; writable = yes |
273 |
; printable = no |
274 |
|
275 |
# The following two entries demonstrate how to share a directory so that two |
276 |
# users can place files there that will be owned by the specific users. In this |
277 |
# setup, the directory should be writable by both users and should have the |
278 |
# sticky bit set on it to prevent abuse. Obviously this could be extended to |
279 |
# as many users as required. |
280 |
;[myshare] |
281 |
; comment = Mary's and Fred's stuff |
282 |
; path = /usr/somewhere/shared |
283 |
; valid users = mary fred |
284 |
; public = no |
285 |
; writable = yes |
286 |
; printable = no |
287 |
; create mask = 0765 |
288 |
|
289 |
|
290 |
|
291 |
|
292 |
|
293 |
1.1 net-fs/samba/files/3.5/nsswitch.conf-wins |
294 |
|
295 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-wins?rev=1.1&view=markup |
296 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-wins?rev=1.1&content-type=text/plain |
297 |
|
298 |
Index: nsswitch.conf-wins |
299 |
=================================================================== |
300 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-wins,v 1.1 2010/03/01 16:19:54 patrick Exp $ |
301 |
passwd: files |
302 |
group: files |
303 |
|
304 |
hosts: files dns wins |
305 |
networks: files dns |
306 |
|
307 |
services: db files |
308 |
protocols: db files |
309 |
rpc: db files |
310 |
ethers: db files |
311 |
netmasks: files |
312 |
netgroup: files |
313 |
bootparams: files |
314 |
|
315 |
automount: files |
316 |
aliases: files |
317 |
|
318 |
|
319 |
|
320 |
1.1 net-fs/samba/files/3.5/lmhosts |
321 |
|
322 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/lmhosts?rev=1.1&view=markup |
323 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/lmhosts?rev=1.1&content-type=text/plain |
324 |
|
325 |
Index: lmhosts |
326 |
=================================================================== |
327 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/lmhosts,v 1.1 2010/03/01 16:19:54 patrick Exp $ |
328 |
127.0.0.1 localhost |
329 |
|
330 |
|
331 |
|
332 |
1.1 net-fs/samba/files/3.5/system-auth-winbind.pam |
333 |
|
334 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/system-auth-winbind.pam?rev=1.1&view=markup |
335 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/system-auth-winbind.pam?rev=1.1&content-type=text/plain |
336 |
|
337 |
Index: system-auth-winbind.pam |
338 |
=================================================================== |
339 |
#%PAM-1.0 |
340 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/system-auth-winbind.pam,v 1.1 2010/03/01 16:19:54 patrick Exp $ |
341 |
|
342 |
auth required pam_env.so |
343 |
auth sufficient pam_winbind.so |
344 |
auth sufficient pam_unix.so likeauth nullok use_first_pass |
345 |
auth required pam_deny.so |
346 |
|
347 |
account sufficient pam_winbind.so |
348 |
account required pam_unix.so |
349 |
|
350 |
password required pam_cracklib.so retry=3 |
351 |
password sufficient pam_unix.so nullok use_authtok md5 shadow |
352 |
password required pam_deny.so |
353 |
|
354 |
session required pam_mkhomedir.so skel=/etc/skel/ umask=0022 |
355 |
session required pam_limits.so |
356 |
session required pam_unix.so |
357 |
|
358 |
|
359 |
|
360 |
1.1 net-fs/samba/files/3.5/samba.confd |
361 |
|
362 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/samba.confd?rev=1.1&view=markup |
363 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/samba.confd?rev=1.1&content-type=text/plain |
364 |
|
365 |
Index: samba.confd |
366 |
=================================================================== |
367 |
#add "winbind" to the daemon_list if you also want winbind to start |
368 |
daemon_list="smbd nmbd" |
369 |
|
370 |
#---------------------------------------------------------------------------- |
371 |
# Daemons calls: <daemon_name>_<command_option> |
372 |
#---------------------------------------------------------------------------- |
373 |
my_service_name="samba" |
374 |
my_service_PRE="unset TMP TMPDIR" |
375 |
my_service_POST="" |
376 |
|
377 |
#---------------------------------------------------------------------------- |
378 |
# Daemons calls: <daemon_name>_<command_option> |
379 |
#---------------------------------------------------------------------------- |
380 |
smbd_start_options="-D" |
381 |
smbd_start="start-stop-daemon --start --exec /usr/sbin/smbd -- ${smbd_start_options}" |
382 |
smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd" |
383 |
smbd_reload="killall -HUP smbd" |
384 |
|
385 |
nmbd_start_options="-D" |
386 |
nmbd_start="start-stop-daemon --start --exec /usr/sbin/nmbd -- ${nmbd_start_options}" |
387 |
nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd" |
388 |
nmbd_reload="killall -HUP nmbd" |
389 |
|
390 |
winbind_start_options="" |
391 |
winbind_start="start-stop-daemon --start --exec /usr/sbin/winbindd -- ${winbind_start_options}" |
392 |
winbind_stop="start-stop-daemon --stop --oknodo --exec /usr/sbin/winbindd" |
393 |
winbind_reload="killall -HUP winbindd" |
394 |
|
395 |
|
396 |
|
397 |
|
398 |
1.1 net-fs/samba/files/3.5/smbusers |
399 |
|
400 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/smbusers?rev=1.1&view=markup |
401 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/smbusers?rev=1.1&content-type=text/plain |
402 |
|
403 |
Index: smbusers |
404 |
=================================================================== |
405 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/smbusers,v 1.1 2010/03/01 16:19:54 patrick Exp $ |
406 |
|
407 |
# Syntax: |
408 |
# Unix_name = SMB_name1 SMB_name2 ... |
409 |
|
410 |
root = Administrator admin |
411 |
nobody = guest pcguest smbguest |
412 |
|
413 |
|
414 |
|
415 |
1.1 net-fs/samba/files/3.5/samba.initd |
416 |
|
417 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/samba.initd?rev=1.1&view=markup |
418 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/samba.initd?rev=1.1&content-type=text/plain |
419 |
|
420 |
Index: samba.initd |
421 |
=================================================================== |
422 |
#!/sbin/runscript |
423 |
# Copyright 1999-2007 Gentoo Foundation |
424 |
# Distributed under the terms of the GNU General Public License, v2 or later |
425 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/samba.initd,v 1.1 2010/03/01 16:19:54 patrick Exp $ |
426 |
|
427 |
opts="reload" |
428 |
|
429 |
depend() { |
430 |
after slapd |
431 |
need net |
432 |
use cupsd |
433 |
} |
434 |
|
435 |
DAEMONNAME="${SVCNAME##samba.}" |
436 |
[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME} |
437 |
|
438 |
signal_do() { |
439 |
local signal="$1" |
440 |
[ -z "${signal}" ] && return 0 |
441 |
|
442 |
local result=0 last_result=0 daemon= cmd_exec= |
443 |
for daemon in ${daemon_list} ; do |
444 |
eval cmd_exec=\$${daemon}_${signal} |
445 |
if [ -n "${cmd_exec}" ]; then |
446 |
ebegin "${my_service_name} -> ${signal}: ${daemon}" |
447 |
#echo ${cmd} '->' ${!cmd} |
448 |
${cmd_exec} > /dev/null |
449 |
last_result=$? |
450 |
eend ${last_result} |
451 |
fi |
452 |
result=$(( ${result} + ${last_result} )) |
453 |
done |
454 |
return ${result} |
455 |
} |
456 |
start() { |
457 |
${my_service_PRE} |
458 |
signal_do start && return 0 |
459 |
|
460 |
eerror "Error: starting services (see system logs)" |
461 |
signal_do stop |
462 |
return 1 |
463 |
} |
464 |
stop() { |
465 |
${my_service_PRE} |
466 |
if signal_do stop ; then |
467 |
${my_service_POST} |
468 |
return 0 |
469 |
fi |
470 |
} |
471 |
reload() { |
472 |
${my_service_PRE} |
473 |
signal_do reload |
474 |
} |
475 |
|
476 |
|
477 |
|
478 |
1.1 net-fs/samba/files/3.5/nsswitch.conf-winbind |
479 |
|
480 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-winbind?rev=1.1&view=markup |
481 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-winbind?rev=1.1&content-type=text/plain |
482 |
|
483 |
Index: nsswitch.conf-winbind |
484 |
=================================================================== |
485 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/nsswitch.conf-winbind,v 1.1 2010/03/01 16:19:54 patrick Exp $ |
486 |
passwd: files winbind |
487 |
group: files winbind |
488 |
|
489 |
hosts: files dns |
490 |
networks: files dns |
491 |
|
492 |
services: db files |
493 |
protocols: db files |
494 |
rpc: db files |
495 |
ethers: db files |
496 |
netmasks: files |
497 |
netgroup: files |
498 |
bootparams: files |
499 |
|
500 |
automount: files |
501 |
aliases: files |
502 |
|
503 |
|
504 |
|
505 |
1.1 net-fs/samba/files/3.5/samba.pam |
506 |
|
507 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/samba.pam?rev=1.1&view=markup |
508 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/samba.pam?rev=1.1&content-type=text/plain |
509 |
|
510 |
Index: samba.pam |
511 |
=================================================================== |
512 |
#%PAM-1.0 |
513 |
# * pam_smbpass.so authenticates against the smbpasswd file |
514 |
# * changed Redhat's 'pam_stack' with 'include' for *BSD compatibility |
515 |
# (Diego "Flameeyes" Petteno'): enable with pam>=0.78 only |
516 |
auth required pam_smbpass.so nodelay |
517 |
account include system-auth |
518 |
session include system-auth |
519 |
password required pam_smbpass.so nodelay smbconf=/etc/samba/smb.conf |
520 |
|
521 |
|
522 |
|
523 |
1.1 net-fs/samba/files/3.5/swat.xinetd |
524 |
|
525 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/swat.xinetd?rev=1.1&view=markup |
526 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba/files/3.5/swat.xinetd?rev=1.1&content-type=text/plain |
527 |
|
528 |
Index: swat.xinetd |
529 |
=================================================================== |
530 |
# default: off |
531 |
# description: SWAT is the Samba Web Admin Tool. Use swat \ |
532 |
# to configure your Samba server. To use SWAT, \ |
533 |
# connect to port 901 with your favorite web browser. |
534 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/3.5/swat.xinetd,v 1.1 2010/03/01 16:19:54 patrick Exp $ |
535 |
|
536 |
service swat |
537 |
{ |
538 |
port = 901 |
539 |
socket_type = stream |
540 |
wait = no |
541 |
only_from = localhost |
542 |
user = root |
543 |
server = /usr/sbin/swat |
544 |
log_on_failure += USERID |
545 |
disable = yes |
546 |
} |