Changeset 1f672c1
- Timestamp:
- 04/01/2005 05:31:37 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 0fa91c66
- Parents:
- d227be52
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/fam.xml
rd227be52 r1f672c1 116 116 >> /etc/inetd.conf</command></userinput></screen> 117 117 118 <para>If you use <application>xinetd</application>, add an entry to 119 <filename>/etc/xinetd.conf</filename> with the following command (be 120 sure the "nogroup" group exists):</para> 118 <para>If you use <application>xinetd</application>, the following command will create 119 the <application><acronym>FAM</acronym></application> file as 120 <filename>/etc/xinetd.d/sgi_fam</filename>: 121 (be sure the "nogroup" group exists):</para> 121 122 122 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command> 123 # description: FAM - file alteration monitor 123 <screen><userinput><command>cat >> /etc/xinetd.d/sgi_fam << "EOF"</command> 124 # Begin /etc/xinetd.d/sgi_fam 125 126 # description: FAM - file alteration monitor 124 127 service sgi_fam 125 128 { … … 134 137 rpc_number = 391002 135 138 } 139 140 # End /etc/xinetd.d/sgi_fam 136 141 <command>EOF</command></userinput></screen> 137 142 -
introduction/welcome/changelog.xml
rd227be52 r1f672c1 22 22 23 23 <itemizedlist> 24 25 <listitem><para>March 31st, 2005 [bdubbs]: Updated the install instructions 26 for xinetd to use /etc/xinetd.d/ directory structure. Patch by John Gnew. 27 </para></listitem> 24 28 25 29 <listitem><para>March 31st, 2005 [randy]: Updated to libxml2-2.6.18 and -
server/mail/qpopper.xml
rd227be52 r1f672c1 101 101 <filename>inetd.conf</filename> file.</para> 102 102 103 <para>If you use <command>xinetd</command>, the following command will add the 104 <application>Qpopper</application> entry to 105 <filename>/etc/xinetd.conf</filename>:</para> 103 <para>If you use <command>xinetd</command>, the following command will create the 104 <application>Qpopper</application> file as <filename>/etc/xinetd.d/pop3</filename>:</para> 106 105 <indexterm zone="qpopper qpopper-config"> 107 <primary sortas="e-etc-xinetd.conf">/etc/xinetd. conf</primary></indexterm>106 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.d/pop3</primary></indexterm> 108 107 109 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command> 108 <screen><userinput><command>cat >> /etc/xinetd.d/pop3 << "EOF"</command> 109 # Begin /etc/xinetd.d/pop3 110 110 111 service pop3 111 112 { … … 117 118 server = /usr/sbin/popper 118 119 } 120 121 # End /etc/xinetd.d/pop3 119 122 <command>EOF</command></userinput></screen> 120 123 -
server/other/cvsserver.xml
rd227be52 r1f672c1 89 89 90 90 <para>If you use <command>inetd</command>, the following command will add the 91 pserverentry to <filename>/etc/inetd.conf</filename>:</para>91 <application><acronym>CVS</acronym></application> entry to <filename>/etc/inetd.conf</filename>:</para> 92 92 93 93 <screen><userinput><command>echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \ … … 97 97 <filename>inetd.conf</filename> file.</para> 98 98 99 <para>If you use <command>xinetd</command>, the following command will addthe100 pserver entry to <filename>/etc/xinetd.conf</filename>:</para>99 <para>If you use <command>xinetd</command>, the following command will create the 100 <acronym>CVS</acronym> file as <filename>/etc/xinetd.d/cvspserver</filename>:</para> 101 101 102 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command> 102 <screen><userinput><command>cat >> /etc/xinetd.d/cvspserver << "EOF"</command> 103 # Begin /etc/xinetd.d/cvspserver 104 103 105 service cvspserver 104 106 { … … 112 114 server_args = -f --allow-root=/srv/cvsroot pserver 113 115 } 116 117 # End /etc/xinetd.d/cvspserver 114 118 <command>EOF</command></userinput></screen> 115 119 <para>Issue a <command>/etc/rc.d/init.d/xinetd reload</command> to reread the changed -
server/other/leafnode.xml
rd227be52 r1f672c1 160 160 changed <filename>inetd.conf</filename> file.</para> 161 161 162 <para>Alternatively, <application>Leafnode</application> may be configured to 163 use <command>xinetd</command> by adding an entry to the 164 <filename>/etc/xinetd.conf</filename> file with the following command:</para> 165 166 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command> 162 <para>If you use <command>xinetd</command>, the following command will create the 163 <application>Leafnode</application> file as <filename>/etc/xinetd.d/nntp</filename>:</para> 164 165 <screen><userinput><command>cat >> /etc/xinetd.d/nntp << "EOF"</command> 166 # Begin /etc/xinetd.d/nntp 167 167 168 service nntp 168 169 { … … 177 178 per_source = 3 178 179 } 180 181 # End /etc/xinetd.d/nntp 179 182 <command>EOF</command></userinput></screen> 180 183 -
server/other/samba3.xml
rd227be52 r1f672c1 250 250 changed <filename>inetd.conf</filename> file.</para> 251 251 252 <para>If <command>xinetd</command> is used, the following command issued as253 the root user will add the swat_tunnel entry to254 <filename>/etc/xinetd.conf</filename>(you may need to modify or remove the252 <para>If you use <command>xinetd</command>, the following command will create the 253 <application>Samba</application> file as <filename>/etc/xinetd.d/swat_tunnel</filename>: 254 (you may need to modify or remove the 255 255 <quote>only_from</quote> line to include the desired host[s]):</para> 256 256 257 <screen><userinput role='root'><command>cat >> /etc/xinetd.conf << "EOF"</command> 257 <screen><userinput role='root'><command>cat >> /etc/xinetd.d/swat_tunnel << "EOF"</command> 258 # Begin /etc/xinetd.d/swat_tunnel 259 258 260 service swat_tunnel 259 261 { … … 266 268 log_on_failure += USERID 267 269 } 270 271 # End /etc/xinetd.d/swat_tunnel 268 272 <command>EOF</command></userinput></screen> 269 273 -
server/other/svnserver.xml
rd227be52 r1f672c1 204 204 <command>EOF</command></userinput></screen> 205 205 206 <para>If you use <command>xinetd</command>, add the following 207 lines to the <filename>/etc/xinetd.conf</filename> file:</para> 208 209 <screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command> 206 <para>If you use <command>xinetd</command>, the following command will create the 207 <application>Subversion server</application> file as <filename>/etc/xinetd.d/svn</filename>:</para> 208 209 <screen><userinput><command>cat >> /etc/xinetd.d/svn << "EOF"</command> 210 # Begin /etc/xinetd.d/svn 211 210 212 service svn 211 213 { … … 218 220 server_args = -i -r /srv/svn/repositories 219 221 } 222 223 # End /etc/xinetd.d/svn 220 224 <command>EOF</command></userinput></screen> 221 225 -
server/other/xinetd.xml
rd227be52 r1f672c1 80 80 <filename class="directory">/usr/sbin</filename>, rather than the default path 81 81 of <filename class="directory">/usr/etc</filename>, and install the 82 <application>xinetd</application> configuration file by running the following 83 command as the root user:</para> 84 85 <screen><userinput role='root'><command>sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</command> 82 <application>xinetd</application> configuration files by running the following 83 commands as the root user:</para> 84 85 <screen><userinput role='root'><command>cat > /etc/xinetd.conf << "EOF"</command> 86 # Begin /etc/xinetd 87 # Configuration file for xinetd 88 # 89 90 defaults 91 { 92 instances = 60 93 log_type = SYSLOG daemon 94 log_on_success = HOST PID USERID 95 log_on_failure = HOST USERID 96 cps = 25 30 97 } 98 99 # All service files are stored in the /etc/xinetd.d directory 100 # 101 includedir /etc/xinetd.d 102 # End /etc/xinetd 103 <command>EOF</command></userinput></screen> 104 <para>All of the following files have the statement, "disable = yes". To activate 105 any of the services, this statement will need to be changed to "disable = no".</para> 106 107 <note><para>The following files are listed to demonstrate classic 108 <application>xinetd</application> applications. In many cases, these 109 applications are not needed. In some cases, the applications are 110 considered security risks. For example, telnet, rlogin, rexec, and rsh 111 transmit unencrypted usernames and passwords over the network and can be easily 112 replaced with a more secure alternative: ssh.</para></note> 113 114 <screen><userinput role='root'><command>install -d -m755 /etc/xinetd.d &&</command> 115 <command>cat > /etc/xinetd.d/login << "EOF" &&</command> 116 # Begin /etc/xinetd.d/login 117 118 service login 119 { 120 disable = yes 121 socket_type = stream 122 protocol = tcp 123 wait = no 124 user = root 125 server = /usr/sbin/in.rlogind 126 log_type = SYSLOG local4 info 127 } 128 129 # End /etc/xinetd.d/login 130 <command>EOF 131 cat > /etc/xinetd.d/shell << "EOF" &&</command> 132 # Begin /etc/xinetd.d/shell 133 134 service shell 135 { 136 disable = yes 137 socket_type = stream 138 wait = no 139 user = root 140 instances = UNLIMITED 141 flags = IDONLY 142 log_on_success += USERID 143 server = /usr/sbin/in.rshd 144 } 145 146 # End /etc/xinetd.d/shell 147 <command>EOF 148 cat > /etc/xinetd.d/exec << "EOF" &&</command> 149 # Begin /etc/xinetd.d/exec 150 151 service exec 152 { 153 disable = yes 154 socket_type = stream 155 wait = no 156 user = root 157 server = /usr/sbin/in.rexecd 158 } 159 160 # End /etc/xinetd.d/exec 161 <command>EOF 162 cat > /etc/xinetd.d/comsat << "EOF" &&</command> 163 # Begin /etc/xinetd.d/comsat 164 165 service comsat 166 { 167 disable = yes 168 socket_type = dgram 169 wait = yes 170 user = nobody 171 group = tty 172 server = /usr/sbin/in.comsat 173 } 174 175 # End /etc/xinetd.d/comsat 176 <command>EOF 177 cat > /etc/xinetd.d/talk << "EOF" &&</command> 178 # Begin /etc/xinetd.d/talk 179 180 service talk 181 { 182 disable = yes 183 socket_type = dgram 184 wait = yes 185 user = root 186 server = /usr/sbin/in.talkd 187 } 188 189 # End /etc/xinetd.d/talk 190 <command>EOF 191 cat > /etc/xinetd.d/ntalk << "EOF" &&</command> 192 # Begin /etc/xinetd.d/ntalk 193 194 service ntalk 195 { 196 disable = yes 197 socket_type = dgram 198 wait = yes 199 user = root 200 server = /usr/sbin/in.ntalkd 201 } 202 203 # End /etc/xinetd.d/ntalk 204 <command>EOF 205 cat > /etc/xinetd.d/telnet << "EOF" &&</command> 206 # Begin /etc/xinetd.d/telnet 207 208 service telnet 209 { 210 disable = yes 211 socket_type = stream 212 wait = no 213 user = root 214 server = /usr/sbin/in.telnetd 215 bind = 127.0.0.1 216 log_on_failure += USERID 217 } 218 219 service telnet 220 { 221 disable = yes 222 socket_type = stream 223 wait = no 224 user = root 225 # server = /usr/sbin/in.telnetd 226 bind = 192.231.139.175 227 redirect = 128.138.202.20 23 228 log_on_failure += USERID 229 } 230 231 # End /etc/xinetd.d/telnet 232 <command>EOF 233 cat > /etc/xinetd.d/ftp << "EOF" &&</command> 234 # Begin /etc/xinetd.d/ftp 235 236 service ftp 237 { 238 disable = yes 239 socket_type = stream 240 wait = no 241 user = root 242 server = /usr/sbin/in.ftpd 243 server_args = -l 244 instances = 4 245 log_on_success += DURATION USERID 246 log_on_failure += USERID 247 access_times = 2:00-8:59 12:00-23:59 248 nice = 10 249 } 250 251 # End /etc/xinetd.d/ftp 252 <command>EOF 253 cat > /etc/xinetd.d/tftp << "EOF" &&</command> 254 # Begin /etc/xinetd.d/tftp 255 256 service tftp 257 { 258 disable = yes 259 socket_type = dgram 260 wait = yes 261 user = root 262 server = /usr/sbin/in.tftpd 263 server_args = -s /tftpboot 264 } 265 266 # End /etc/xinetd.d/tftp 267 <command>EOF 268 cat > /etc/xinetd.d/finger << "EOF" &&</command> 269 # Begin /etc/xinetd.d/finger 270 271 service finger 272 { 273 disable = yes 274 socket_type = stream 275 wait = no 276 user = nobody 277 server = /usr/sbin/in.fingerd 278 } 279 280 # End /etc/xinetd.d/finger 281 <command>EOF 282 cat > /etc/xinetd.d/systat << "EOF" &&</command> 283 # Begin /etc/xinetd.d/systat 284 285 service systat 286 { 287 disable = yes 288 socket_type = stream 289 wait = no 290 user = nobody 291 server = /usr/bin/ps 292 server_args = -auwwx 293 only_from = 128.138.209.0 294 log_on_success = HOST 295 } 296 297 # End /etc/xinetd.d/systat 298 <command>EOF 299 cat > /etc/xinetd.d/netstat << "EOF" &&</command> 300 # Begin /etc/xinetd.d/netstat 301 302 service netstat 303 { 304 disable = yes 305 socket_type = stream 306 wait = no 307 user = nobody 308 server = /usr/ucb/netstat 309 server_args = -f inet 310 only_from = 128.138.209.0 311 log_on_success = HOST 312 } 313 314 # End /etc/xinetd.d/netstat 315 <command>EOF 316 cat > /etc/xinetd.d/echo << "EOF" &&</command> 317 # Begin /etc/xinetd.d/echo 318 319 service echo 320 { 321 disable = yes 322 type = INTERNAL 323 id = echo-stream 324 socket_type = stream 325 protocol = tcp 326 user = root 327 wait = no 328 } 329 330 service echo 331 { 332 disable = yes 333 type = INTERNAL 334 id = echo-dgram 335 socket_type = dgram 336 protocol = udp 337 user = root 338 wait = yes 339 } 340 341 # End /etc/xinetd.d/echo 342 <command>EOF 343 cat > /etc/xinetd.d/chargen << "EOF" &&</command> 344 # Begin /etc/xinetd.d/chargen 345 346 service chargen 347 { 348 disable = yes 349 type = INTERNAL 350 id = chargen-stream 351 socket_type = stream 352 protocol = tcp 353 user = root 354 wait = no 355 } 356 357 service chargen 358 { 359 disable = yes 360 type = INTERNAL 361 id = chargen-dgram 362 socket_type = dgram 363 protocol = udp 364 user = root 365 wait = yes 366 } 367 368 # End /etc/xinetd.d/chargen 369 <command>EOF 370 cat > /etc/xinetd.d/daytime << "EOF" &&</command> 371 # Begin /etc/xinetd.d/daytime 372 373 service daytime 374 { 375 disable = yes 376 type = INTERNAL 377 id = daytime-stream 378 socket_type = stream 379 protocol = tcp 380 user = root 381 wait = no 382 } 383 384 service daytime 385 { 386 disable = yes 387 type = INTERNAL 388 id = daytime-dgram 389 socket_type = dgram 390 protocol = udp 391 user = root 392 wait = yes 393 } 394 395 # End /etc/xinetd.d/daytime 396 <command>EOF 397 cat > /etc/xinetd.d/time << "EOF" &&</command> 398 # Begin /etc/xinetd.d/time 399 400 service time 401 { 402 disable = yes 403 type = INTERNAL 404 id = time-stream 405 socket_type = stream 406 protocol = tcp 407 user = root 408 wait = no 409 } 410 411 412 service time 413 { 414 disable = yes 415 type = INTERNAL 416 id = time-dgram 417 socket_type = dgram 418 protocol = udp 419 user = root 420 wait = yes 421 } 422 423 # End /etc/xinetd.d/time 424 <command>EOF 425 cat > /etc/xinetd.d/rstatd << "EOF" &&</command> 426 # Begin /etc/xinetd.d/rstatd 427 428 ervice rstatd 429 { 430 disable = yes 431 type = RPC 432 flags = INTERCEPT 433 rpc_version = 2-4 434 socket_type = dgram 435 protocol = udp 436 server = /usr/sbin/rpc.rstatd 437 wait = yes 438 user = root 439 } 440 441 # End /etc/xinetd.d/rstatd 442 <command>EOF 443 cat > /etc/xinetd.d/rquotad << "EOF" &&</command> 444 # Begin /etc/xinetd.d/rquotad 445 446 service rquotad 447 { 448 disable = yes 449 type = RPC 450 rpc_version = 1 451 socket_type = dgram 452 protocol = udp 453 wait = yes 454 user = root 455 server = /usr/sbin/rpc.rstatd 456 } 457 458 # End /etc/xinetd.d/rquotad 459 <command>EOF 460 cat > /etc/xinetd.d/rusersd << "EOF" &&</command> 461 # Begin /etc/xinetd.d/rusersd 462 463 service rusersd 464 { 465 disable = yes 466 type = RPC 467 rpc_version = 1-2 468 socket_type = dgram 469 protocol = udp 470 wait = yes 471 user = root 472 server = /usr/sbin/rpc.rusersd 473 } 474 475 # End /etc/xinetd.d/rusersd 476 <command>EOF 477 cat > /etc/xinetd.d/sprayd << "EOF" &&</command> 478 # Begin /etc/xinetd.d/sprayd 479 480 service sprayd 481 { 482 disable = yes 483 type = RPC 484 rpc_version = 1 485 socket_type = dgram 486 protocol = udp 487 wait = yes 488 user = root 489 server = /usr/sbin/rpc.sprayd 490 } 491 492 # End /etc/xinetd.d/sprayd 493 <command>EOF 494 cat > /etc/xinetd.d/walld << "EOF" &&</command> 495 # Begin /etc/xinetd.d/walld 496 497 service walld 498 { 499 disable = yes 500 type = RPC 501 rpc_version = 1 502 socket_type = dgram 503 protocol = udp 504 wait = yes 505 user = nobody 506 group = tty 507 server = /usr/sbin/rpc.rwalld 508 } 509 510 # End /etc/xinetd.d/walld 511 <command>EOF 512 cat > /etc/xinetd.d/irc << "EOF"</command> 513 # Begin /etc/xinetd.d/irc 514 515 service irc 516 { 517 disable = yes 518 socket_type = stream 519 wait = no 520 user = root 521 flags = SENSOR 522 type = INTERNAL 523 bind = 192.168.1.30 524 deny_time = 60 525 } 526 527 # End /etc/xinetd.d/irc 528 <command>EOF</command> 529 86 530 </userinput></screen> 87 531
Note:
See TracChangeset
for help on using the changeset viewer.