########################################################## # FTP Server ########################################################## service ftp { socket_type = stream wait = no nice = 10 user = root server = /usr/libexec/ftpd server_args = -l instances = 4 log_on_success += DURATION HOST USERID } ########################################################## service login { socket_type = stream protocol = tcp wait = no user = root server = /usr/libexec/rlogind instances = 5 } ########################################################## # Note 1: the instances attribute overrides the default # Note 2: the log_on_success flags are augmented ########################################################## service shell { socket_type = stream protocol = tcp wait = no user = root instances = 5 server = /usr/libexec/rshd log_on_success += HOST } ########################################################## #service exec #{ # socket_type = stream # protocol = tcp # wait = no # user = root # instances = UNLIMITED # server = /usr/libexec/rexecd # log_on_success += HOST #} ########################################################## ########################################################## # To boot diskless stations ########################################################## service tftp { socket_type = dgram wait = yes nice = 10 user = root server = /usr/libexec/tftpd server_args = -s /tftpboot instances = 4 } ########################################################## #service bootps #{ # socket_type = dgram # wait = yes # nice = 10 # user = root # server = /usr/libexec/bootpd # instances = 4 #} ########################################################## ########################################################## # Samba ########################################################## #service netbios-ssn #{ # socket_type = stream # protocol = tcp # wait = no # user = root # server = /usr/local/sbin/smbd #} ########################################################## #service netbios-sn #{ # socket_type = dgram # protocol = ucp # wait = yes # user = root # server = /usr/local/sbin/nmbd #} ########################################################## #service swat #{ # socket_type = stream # protocol = tcp # wait = no/400 # user = root # server = /usr/local/sbin/swat #} ########################################################## #defaults #{ # log_type = FILE /var/log/servicelog # log_on_success = PID # log_on_failure = HOST # only_from = 128.138.193.0 128.138.204.0 # only_from = 128.138.252.1 # instances = 10 # disabled = rstatd #} # Limit telnet sessions to 8 Mbytes of memory and a total # 20 CPU seconds for child processes. #service telnet #{ # socket_type = stream # wait = no # nice = 10 # user = root # server = /usr/etc/in.telnetd # rlimit_as = 8M # rlimit_cpu = 20 # } # # # This entry and the next one specify internal services. Since # this is the same service using a different socket type, the # id attribute is used to uniquely identify each entry # #service echo #{ # id = echo-stream # type = INTERNAL # socket_type = stream # user = root # wait = no #} # #service echo #{ # id = echo-dgram # type = INTERNAL # socket_type = dgram # user = root # wait = no #} # #service servers #{ # type = INTERNAL UNLISTED # protocol = tcp # port = 9099 # socket_type = stream # wait = no #} # # # Sample RPC service # #service rstatd #{ # type = RPC # socket_type = dgram # protocol = udp # server = /usr/etc/rpc.rstatd # wait = yes # user = root # rpc_version = 2-4 # env = LD_LIBRARY_PATH=/etc/securelib #} # # # Sample unlisted service # #service unlisted #{ # type = UNLISTED # socket_type = stream # protocol = tcp # wait = no # server = /home/user/some_server # port = 20020 #}