{"id":1896,"date":"2011-11-15T12:44:40","date_gmt":"2011-11-15T10:44:40","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=1896"},"modified":"2012-03-13T15:36:41","modified_gmt":"2012-03-13T13:36:41","slug":"%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d0%bc-%d1%81-%d1%81%d0%b5%d1%80%d0%b2%d0%b8%d1%81%d0%b0%d0%bc%d0%b8","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=1896","title":{"rendered":"\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438"},"content":{"rendered":"<p>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438 \u0432 <strong>Solaris<\/strong> \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0439 \u0432 L<strong>inux\/FreeBSD<\/strong>. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0443\u0442\u0438\u043b\u0438\u0442\u044b\u00a0<strong>svc* (svcadm, svcs, svccfg, svcprop)<\/strong>, \u0430 \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u044b \u0447\u0435\u0440\u0435\u0437 <strong>inetd<\/strong>, \u0442\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0434\u043e\u043b\u0436\u043d\u044b \u0447\u0435\u0440\u0435\u0437 <strong>inetadm<\/strong>.<\/p>\n<p><em><strong><span style=\"color: #008000;\">\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0442\u0435\u043d\u0434<\/span><\/strong><\/em>: <strong>Solaris 10<\/strong><\/p>\n<p><!--more--><\/p>\n<p>\u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u0441\u043a\u0430\u0436\u0443 \u043e\u0431 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438. \u0422\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 <strong>*nix<\/strong> \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 2 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432: \u0447\u0435\u0440\u0435\u0437 <strong>inetd<\/strong> \u0438 \u0447\u0435\u0440\u0435\u0437 <strong>SMF<\/strong>. \u042f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>SMF<\/strong>. \u041d\u0438\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 <strong>SMF<\/strong>. \u041e\u0431 <strong>inetd<\/strong> \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e<\/p>\n<h1><strong><span style=\"color: #0000ff;\">\u0421\u043f\u043e\u0441\u043e\u0431 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 SMF<\/span><\/strong><\/h1>\n<p><strong><span style=\"color: #ff0000;\">1) \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445:<\/span><\/strong><\/p>\n<p><code>$ svcs | more<br \/>\nSTATE STIME FMRI<br \/>\nlegacy_run 19:00:13 lrc:\/etc\/rc2_d\/S20sysetup<br \/>\nlegacy_run 19:00:13 lrc:\/etc\/rc2_d\/S72autoinstall<br \/>\nlegacy_run 19:00:13 lrc:\/etc\/rc2_d\/S73cachefs_daemon<br \/>\nlegacy_run 19:00:13 lrc:\/etc\/rc2_d\/S89PRESERVE<br \/>\nlegacy_run 19:00:13 lrc:\/etc\/rc2_d\/S98deallocate<br \/>\nlegacy_run 19:00:14 lrc:\/etc\/rc3_d\/S16boot_server<br \/>\nonline 19:00:04 svc:\/system\/svc\/restarter:default<br \/>\nonline 19:00:05 svc:\/network\/pfil:default<br \/>\nonline 19:00:05 svc:\/network\/loopback:default<br \/>\nonline 19:00:05 svc:\/network\/physical:default<br \/>\nonline 19:00:06 svc:\/system\/filesystem\/root:default<br \/>\nonline 19:00:07 svc:\/system\/boot-archive:default<br \/>\n...<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435\u0445, \u0434\u0430\u0436\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<p><code># svcs -a<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435:<\/span><\/em><\/p>\n<p><code>$ svcs ssh<br \/>\nSTATE STIME FMRI<br \/>\nonline 19:00:13 svc:\/network\/ssh:default<\/code><\/p>\n<p>\u0418\u043b\u0438 \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 (\u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, uptime \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435)<\/p>\n<p><code>$ svcs -l ssh<br \/>\nfmri svc:\/network\/ssh:default<br \/>\nname SSH server<br \/>\nenabled true<br \/>\nstate online<br \/>\nnext_state none<br \/>\nstate_time 14 \u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430 2011 \u0440. 19:00:13 EET<br \/>\nlogfile \/var\/svc\/log\/network-ssh:default.log<br \/>\nrestarter svc:\/system\/svc\/restarter:default<br \/>\ncontract_id 123<br \/>\ndependency require_all\/none svc:\/system\/filesystem\/local (online)<br \/>\ndependency optional_all\/none svc:\/system\/filesystem\/autofs (online)<br \/>\ndependency require_all\/none svc:\/network\/loopback (online)<br \/>\ndependency require_all\/none svc:\/network\/physical (online)<br \/>\ndependency require_all\/none svc:\/system\/cryptosvc (online)<br \/>\ndependency require_all\/none svc:\/system\/utmp (online)<br \/>\ndependency require_all\/restart file:\/\/localhost\/etc\/ssh\/sshd_config (online)<\/code><\/p>\n<p>\u0422\u0430\u043a \u0436\u0435 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447 <strong>&#8216;-v&#8217;<\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">2) \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438<\/span><\/strong><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c (\u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c)<\/span><\/em><\/p>\n<p><code>#svcadm enable ssh<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043e\u0434\u043d\u0430\u0436\u0434\u044b (\u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043e \u0440\u0435\u0431\u0443\u0442\u0430), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043b\u044e\u0447 <strong>&#8216;-t&#8217;<\/strong>:<\/p>\n<p><code>#svcadm enable -t ssh<\/code><\/p>\n<p>\u0422\u0430\u043a \u0436\u0435 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u043a\u043b\u044e\u0447 <strong>&#8216;-r&#8217;<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e \u0434\u043b\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0434\u0430\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443.<\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/span><\/em><\/p>\n<p><code>#svcadm restart ssh<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 (\u0441\u0434\u0435\u043b\u0430\u0442\u044c reload)<\/span><\/em><\/p>\n<p><code>#svcadm refresh ssh<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c (\u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c)<\/span><\/em><\/p>\n<p><code>#svcadm disable ssh<\/code><\/p>\n<p>\u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447 <strong>&#8216;-t&#8217;<\/strong> \u043a\u0430\u043a \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 <strong>enable<\/strong><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u043d\u0444\u0443, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0447\u0435\u043c\u0443?)<\/span><\/em><\/p>\n<p><code>#svcadm -x<\/code><\/p>\n<p>\u0415\u0449\u0451 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447 <strong>&#8216;-v&#8217;<\/strong> \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043e\u043f\u0446\u0438\u0439 <strong>svcadm<\/strong> \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u044b \u0434\u0435\u0431\u0430\u0433\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c.<\/p>\n<p><strong><span style=\"color: #ff0000;\">3) \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432<\/span><\/strong><\/p>\n<p>\u0427\u0442\u043e \u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <strong>svcprop<\/strong>. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 <strong>ssh<\/strong>:<\/p>\n<p><code># svcprop -Cv ssh<br \/>\ngeneral\/enabled boolean true<br \/>\nrestarter\/logfile astring \/var\/svc\/log\/network-ssh:default.log<br \/>\nrestarter\/contract count 123<br \/>\nrestarter\/start_pid count 772<br \/>\nrestarter\/start_method_timestamp time 1321290013.364066000<br \/>\nrestarter\/start_method_waitstatus integer 0<br \/>\nrestarter\/auxiliary_state astring none<br \/>\nrestarter\/next_state astring none<br \/>\nrestarter\/state astring online<br \/>\nrestarter\/state_timestamp time 1321290013.368185000<\/code><\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u043c\u043e\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u0443\u0434\u0430 \u043f\u0438\u0448\u0443\u0442\u0441\u044f \u043b\u043e\u0433\u0438, <strong>uptime<\/strong>. \u0412\u044b\u0432\u043e\u0434 \u0447\u0435\u043c-\u0442\u043e \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 <strong>svcs<\/strong>.<\/p>\n<p>\u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0441\u043b\u0443\u0436\u0438\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 <strong>svccfg<\/strong>. \u0421 \u0435\u0439 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e. \u041e\u043d\u0430 \u0438\u043c\u0435\u0435\u0442 2 \u0440\u0435\u0436\u0438\u043c\u0430: \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0439. \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<p><strong><span style=\"color: #ff0000;\">4) \u041b\u043e\u0433\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435.<\/span><\/strong><\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0438\u0448\u0435\u0442 \u0441\u0432\u043e\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u0432\u043e\u0439 \u043b\u043e\u0433 (\u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c <strong>syslog<\/strong> \u0438 \u043f\u0440\u043e\u0447\u0438\u0445 \u043e\u0431\u0449\u0438\u0445 \u043b\u043e\u0433\u043e\u0432) \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 <strong>\/var\/svc\/log<\/strong>. \u0412 \u043d\u0451\u043c \u043e\u043d \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0444\u0430\u0439\u043b \u0441 \u043f\u043e\u043b\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443\u00a0<strong>network-dns-client:default.log<\/strong>.<\/p>\n<h1><strong><span style=\"color: #0000ff;\">\u0421\u043f\u043e\u0441\u043e\u0431 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 inetd<\/span><\/strong><\/h1>\n<p>\u0417\u0434\u0435\u0441\u044c \u0432\u0441\u0451 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e. \u0415\u0441\u0442\u044c \u043e\u0434\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 &#8211; <strong>inetadm<\/strong>.<\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u044b<\/span><\/em><\/p>\n<p><code># inetadm<br \/>\nENABLED STATE FMRI<br \/>\ndisabled disabled svc:\/network\/rexec:default<br \/>\ndisabled disabled svc:\/network\/echo:dgram<br \/>\ndisabled disabled svc:\/network\/echo:stream<br \/>\nenabled online svc:\/network\/stlisten:default<br \/>\nenabled online svc:\/network\/finger:default<br \/>\n...<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0435<\/span><\/em><\/p>\n<p><code># inetadm -l telnet<br \/>\nSCOPE NAME=VALUE<br \/>\nname=\"telnet\"<br \/>\nendpoint_type=\"stream\"<br \/>\nproto=\"tcp6\"<br \/>\nisrpc=FALSE<br \/>\nwait=FALSE<br \/>\nexec=\"\/usr\/sbin\/in.telnetd\"<br \/>\nuser=\"root\"<br \/>\ndefault bind_addr=\"\"<br \/>\ndefault bind_fail_max=-1<br \/>\ndefault bind_fail_interval=-1<br \/>\ndefault max_con_rate=-1<br \/>\ndefault max_copies=-1<br \/>\ndefault con_rate_offline=-1<br \/>\ndefault failrate_cnt=40<br \/>\ndefault failrate_interval=60<br \/>\ndefault inherit_env=TRUE<br \/>\ndefault tcp_trace=FALSE<br \/>\ndefault tcp_wrappers=FALSE<br \/>\ndefault connection_backlog=10<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c\/\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c<\/span><\/em><\/p>\n<p>\u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u043a\u043b\u044e\u0447\u0438 <strong>&#8216;-e&#8217;\/&#8217;-d&#8217;<\/strong><\/p>\n<p><code>#inetadm -e telnet<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u0430<\/span><\/em><\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043b\u044e\u0447\u0438 <strong>-m<\/strong> (\u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430) \u0438 <strong>-M<\/strong> (\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b; \u0438\u0445 \u043a\u0441\u0442\u0430\u0442\u0438, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <strong>inetadm -p<\/strong>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438 \u0432 Solaris \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0439 \u0432 Linux\/FreeBSD. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0443\u0442\u0438\u043b\u0438\u0442\u044b\u00a0svc* (svcadm, svcs, svccfg, svcprop), \u0430 \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u044b \u0447\u0435\u0440\u0435\u0437 inetd, \u0442\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0434\u043e\u043b\u0436\u043d\u044b \u0447\u0435\u0440\u0435\u0437 inetadm. \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0442\u0435\u043d\u0434: Solaris 10<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-1896","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/1896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1896"}],"version-history":[{"count":9,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/1896\/revisions"}],"predecessor-version":[{"id":1905,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/1896\/revisions\/1905"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}