Changeset 411 for branches/samba-3.3.x/docs/manpages/swat.8
- Timestamp:
- Mar 1, 2010, 3:05:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/manpages/swat.8
r368 r411 1 '\" t2 1 .\" Title: swat 3 2 .\" Author: [see the "AUTHOR" section] 4 .\" Generator: DocBook XSL Stylesheets v1.7 5.2<http://docbook.sf.net/>5 .\" Date: 0 1/14/20103 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4 .\" Date: 02/22/2010 6 5 .\" Manual: System Administration tools 7 6 .\" Source: Samba 3.3 8 7 .\" Language: English 9 8 .\" 10 .TH "SWAT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools" 9 .TH "SWAT" "8" "02/22/2010" "Samba 3\&.3" "System Administration tools" 10 .\" ----------------------------------------------------------------- 11 .\" * (re)Define some macros 12 .\" ----------------------------------------------------------------- 13 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 .\" toupper - uppercase a string (locale-aware) 15 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 .de toupper 17 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ 18 \\$* 19 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz 20 .. 21 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 .\" SH-xref - format a cross-reference to an SH section 23 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 .de SH-xref 25 .ie n \{\ 26 .\} 27 .toupper \\$* 28 .el \{\ 29 \\$* 30 .\} 31 .. 32 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 .\" SH - level-one heading that works better for non-TTY output 34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 .de1 SH 36 .\" put an extra blank line of space above the head in non-TTY output 37 .if t \{\ 38 .sp 1 39 .\} 40 .sp \\n[PD]u 41 .nr an-level 1 42 .set-an-margin 43 .nr an-prevailing-indent \\n[IN] 44 .fi 45 .in \\n[an-margin]u 46 .ti 0 47 .HTML-TAG ".NH \\n[an-level]" 48 .it 1 an-trap 49 .nr an-no-space-flag 1 50 .nr an-break-flag 1 51 \." make the size of the head bigger 52 .ps +3 53 .ft B 54 .ne (2v + 1u) 55 .ie n \{\ 56 .\" if n (TTY output), use uppercase 57 .toupper \\$* 58 .\} 59 .el \{\ 60 .nr an-break-flag 0 61 .\" if not n (not TTY), use normal case (not uppercase) 62 \\$1 63 .in \\n[an-margin]u 64 .ti 0 65 .\" if not n (not TTY), put a border/line under subheading 66 .sp -.6 67 \l'\n(.lu' 68 .\} 69 .. 70 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 .\" SS - level-two heading that works better for non-TTY output 72 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 .de1 SS 74 .sp \\n[PD]u 75 .nr an-level 1 76 .set-an-margin 77 .nr an-prevailing-indent \\n[IN] 78 .fi 79 .in \\n[IN]u 80 .ti \\n[SN]u 81 .it 1 an-trap 82 .nr an-no-space-flag 1 83 .nr an-break-flag 1 84 .ps \\n[PS-SS]u 85 \." make the size of the head bigger 86 .ps +2 87 .ft B 88 .ne (2v + 1u) 89 .if \\n[.$] \&\\$* 90 .. 91 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 .\" BB/BE - put background/screen (filled box) around block of text 93 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 .de BB 95 .if t \{\ 96 .sp -.5 97 .br 98 .in +2n 99 .ll -2n 100 .gcolor red 101 .di BX 102 .\} 103 .. 104 .de EB 105 .if t \{\ 106 .if "\\$2"adjust-for-leading-newline" \{\ 107 .sp -1 108 .\} 109 .br 110 .di 111 .in 112 .ll 113 .gcolor 114 .nr BW \\n(.lu-\\n(.i 115 .nr BH \\n(dn+.5v 116 .ne \\n(BHu+.5v 117 .ie "\\$2"adjust-for-leading-newline" \{\ 118 \M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 119 .\} 120 .el \{\ 121 \M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 122 .\} 123 .in 0 124 .sp -.5v 125 .nf 126 .BX 127 .in 128 .sp .5v 129 .fi 130 .\} 131 .. 132 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 .\" BM/EM - put colored marker in margin next to block of text 134 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 .de BM 136 .if t \{\ 137 .br 138 .ll -2n 139 .gcolor red 140 .di BX 141 .\} 142 .. 143 .de EM 144 .if t \{\ 145 .br 146 .di 147 .ll 148 .gcolor 149 .nr BH \\n(dn 150 .ne \\n(BHu 151 \M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[] 152 .in 0 153 .nf 154 .BX 155 .in 156 .fi 157 .\} 158 .. 11 159 .\" ----------------------------------------------------------------- 12 160 .\" * set default formatting … … 19 167 .\" * MAIN CONTENT STARTS HERE * 20 168 .\" ----------------------------------------------------------------- 21 .SH "N AME"169 .SH "Name" 22 170 swat \- Samba Web Administration Tool 23 .SH "SYNOPSIS" 171 .SH "Synopsis" 172 .fam C 24 173 .HP \w'\ 'u 25 swat [\-s\ <smb\ config\ file>] [\-a] [\-P] 174 \FCswat\F[] [\-s\ <smb\ config\ file>] [\-a] [\-P] 175 .fam 26 176 .SH "DESCRIPTION" 27 177 .PP … … 30 180 suite\&. 31 181 .PP 32 swat 182 \FCswat\F[] 33 183 allows a Samba administrator to configure the complex 34 184 \fBsmb.conf\fR(5) 35 185 file via a Web browser\&. In addition, a 36 swat 186 \FCswat\F[] 37 187 configuration page has help links to all the configurable options in the 38 smb\&.conf 188 \FCsmb\&.conf\F[] 39 189 file allowing an administrator to easily look up the effects of any change\&. 40 190 .PP 41 swat 191 \FCswat\F[] 42 192 is run from 43 inetd 193 \FCinetd\F[] 44 194 .SH "OPTIONS" 45 195 .PP … … 49 199 \fBsmbd\fR(8) 50 200 server\&. This is the file that 51 swat 201 \FCswat\F[] 52 202 will modify\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See 53 smb\&.conf 203 \FCsmb\&.conf\F[] 54 204 for more information\&. 55 205 .RE … … 58 208 .RS 4 59 209 This option disables authentication and places 60 swat 210 \FCswat\F[] 61 211 in demo mode\&. In that mode anyone will be able to modify the 62 smb\&.conf 212 \FCsmb\&.conf\F[] 63 213 file\&. 64 214 .sp … … 69 219 .RS 4 70 220 This option restricts read\-only users to the password management page\&. 71 swat 221 \FCswat\F[] 72 222 can then be used to change user passwords without users seeing the "View" and "Status" menu buttons\&. 73 223 .RE … … 85 235 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 86 236 parameter in the 87 smb\&.conf 237 \FCsmb\&.conf\F[] 88 238 file\&. 89 239 .RE … … 97 247 .RS 4 98 248 The file specified contains the configuration details required by the server\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See 99 smb\&.conf 249 \FCsmb\&.conf\F[] 100 250 for more information\&. The default configuration file name is determined at compile time\&. 101 251 .RE … … 117 267 .PP 118 268 After you compile SWAT you need to run 119 make install 269 \FCmake install \F[] 120 270 to install the 121 swat 271 \FCswat\F[] 122 272 binary and the various help files and images\&. A default install would put these in: 123 273 .sp … … 158 308 .PP 159 309 You need to edit your 160 /etc/inetd\&.conf 310 \FC/etc/inetd\&.conf \F[] 161 311 and 162 /etc/services 312 \FC/etc/services\F[] 163 313 to enable SWAT to be launched via 164 inetd\&.314 \FCinetd\F[]\&. 165 315 .PP 166 316 In 167 /etc/services 317 \FC/etc/services\F[] 168 318 you need to add a line like this: 169 319 .PP 170 swat 901/tcp 320 \FCswat 901/tcp\F[] 171 321 .PP 172 322 Note for NIS/YP and LDAP users \- you may need to rebuild the NIS service maps rather than alter your local 173 /etc/services 323 \FC /etc/services\F[] 174 324 file\&. 175 325 .PP 176 326 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 177 inetd 327 \FCinetd\F[] 178 328 daemon)\&. 179 329 .PP 180 330 In 181 /etc/inetd\&.conf 331 \FC/etc/inetd\&.conf\F[] 182 332 you should add a line like this: 183 333 .PP 184 swat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat 334 \FCswat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat\F[] 185 335 .PP 186 336 Once you have edited 187 /etc/services 337 \FC/etc/services\F[] 188 338 and 189 /etc/inetd\&.conf 339 \FC/etc/inetd\&.conf\F[] 190 340 you need to send a HUP signal to inetd\&. To do this use 191 kill \-1 PID 341 \FCkill \-1 PID \F[] 192 342 where PID is the process ID of the inetd daemon\&. 193 343 .SH "LAUNCHING" … … 198 348 .SH "FILES" 199 349 .PP 200 /etc/inetd\&.conf 350 \FC/etc/inetd\&.conf\F[] 201 351 .RS 4 202 352 This file must contain suitable startup information for the meta\-daemon\&. 203 353 .RE 204 354 .PP 205 /etc/services 355 \FC/etc/services\F[] 206 356 .RS 4 207 357 This file must contain a mapping of service name (e\&.g\&., swat) to service port (e\&.g\&., 901) and protocol type (e\&.g\&., tcp)\&. 208 358 .RE 209 359 .PP 210 /usr/local/samba/lib/smb\&.conf 360 \FC/usr/local/samba/lib/smb\&.conf\F[] 211 361 .RS 4 212 362 This is the default location of the 213 363 \fBsmb.conf\fR(5) 214 364 server configuration file that swat edits\&. Other common places that systems install this file are 215 /usr/samba/lib/smb\&.conf 365 \FC /usr/samba/lib/smb\&.conf\F[] 216 366 and 217 /etc/smb\&.conf\&. This file describes all the services the server is to make available to clients\&.367 \FC/etc/smb\&.conf \F[]\&. This file describes all the services the server is to make available to clients\&. 218 368 .RE 219 369 .SH "WARNINGS" 220 370 .PP 221 swat 371 \FCswat\F[] 222 372 will rewrite your 223 373 \fBsmb.conf\fR(5) … … 227 377 \fIcopy= \fR 228 378 options\&. If you have a carefully crafted 229 smb\&.conf 379 \FC smb\&.conf\F[] 230 380 then back it up or don\'t use swat! 231 381 .SH "VERSION" … … 234 384 .SH "SEE ALSO" 235 385 .PP 236 inetd(5),386 \FCinetd(5)\F[], 237 387 \fBsmbd\fR(8), 238 388 \fBsmb.conf\fR(5)
Note:
See TracChangeset
for help on using the changeset viewer.