{"id":517,"date":"2014-12-28T23:41:53","date_gmt":"2014-12-29T08:41:53","guid":{"rendered":"http:\/\/blog.box.kr\/?p=517"},"modified":"2014-12-28T23:41:53","modified_gmt":"2014-12-29T08:41:53","slug":"%eb%a6%ac%eb%88%85%ec%8a%a4-%ed%8c%a8%ec%8a%a4%ec%9b%8c%eb%93%9c-%ec%a0%95%ec%b1%85","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=517","title":{"rendered":"\ub9ac\ub205\uc2a4 \ud328\uc2a4\uc6cc\ub4dc \uc815\ucc45"},"content":{"rendered":"<h2><span id=\".ED.99.95.EC.9D.B8_.EB.B0.A9.EB.B2.95\" class=\"mw-headline\">\ud655\uc778 \ubc29\ubc95<\/span><\/h2>\n<div class=\"mw-geshi mw-code mw-content-ltr\" dir=\"ltr\">\n<div class=\"dos source-dos\">\n<pre class=\"de1\">[root<span class=\"sy0\">@<\/span>jmnote ~]# grep <span class=\"co3\">^P<\/span>ASS \/etc\/login.defs\nPASS_MAX_DAYS\t99999\nPASS_MIN_DAYS\t0\nPASS_MIN_LEN\t5\nPASS_WARN_AGE\t7<\/pre>\n<\/div>\n<\/div>\n<h2><span id=\".EA.B8.B0.EB.B3.B8.EA.B0.92_.EB.B0.8F_.EC.9D.98.EB.AF.B8\" class=\"mw-headline\">\uae30\ubcf8\uac12 \ubc0f \uc758\ubbf8<\/span><\/h2>\n<dl>\n<dd><small><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/jmnote.com\/w\/images\/thumb\/e\/ec\/Crystal_Clear_app_xmag.svg\/16px-Crystal_Clear_app_xmag.svg.png?resize=16%2C16\" srcset=\"\/w\/images\/thumb\/e\/ec\/Crystal_Clear_app_xmag.svg\/24px-Crystal_Clear_app_xmag.svg.png 1.5x, \/w\/images\/thumb\/e\/ec\/Crystal_Clear_app_xmag.svg\/32px-Crystal_Clear_app_xmag.svg.png 2x\" alt=\"\" width=\"16\" height=\"16\" data-recalc-dims=\"1\" \/> <b><a class=\"mw-redirect\" title=\"\/etc\/login.defs \uae30\ubcf8\uac12\" href=\"http:\/\/jmnote.com\/wiki\/\/etc\/login.defs_%EA%B8%B0%EB%B3%B8%EA%B0%92\">\/etc\/login.defs \uae30\ubcf8\uac12<\/a><\/b> \ubb38\uc11c\ub97c \ucc38\uace0\ud558\uc2ed\uc2dc\uc624.<\/small><\/dd>\n<\/dl>\n<div class=\"mw-geshi mw-code mw-content-ltr\" dir=\"ltr\">\n<div class=\"text source-text\">\n<pre class=\"de1\">PASS_MAX_DAYS   99999\nPASS_MIN_DAYS   0\nPASS_MIN_LEN    5\nPASS_WARN_AGE   7<\/pre>\n<\/div>\n<\/div>\n<ul>\n<li>PASS_MAX_DAYS &#8211; \ud328\uc2a4\uc6cc\ub4dc \uc0ac\uc6a9 \uac00\ub2a5 \uae30\uac04(\uc77c).<\/li>\n<li>PASS_MIN_DAYS &#8211; \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd \ucd5c\uc18c \uae30\uac04(\uc77c).<\/li>\n<li>PASS_MIN_LEN &#8211; \ud328\uc2a4\uc6cc\ub4dc \ucd5c\uc18c \uae38\uc774<\/li>\n<li>PASS_WARN_AGE &#8211; \ud328\uc2a4\uc6cc\ub4dc \uae30\uac04 \ub9cc\ub8cc \uacbd\uace0 \uae30\uac04(\uc77c).<\/li>\n<\/ul>\n<h2><span id=\".EA.B6.8C.EC.9E.A5_.EC.84.A4.EC.A0.95.28.EB.B3.B4.EC.95.88_.EA.B0.95.ED.99.94.29\" class=\"mw-headline\">\uad8c\uc7a5 \uc124\uc815(\ubcf4\uc548 \uac15\ud654)<\/span><\/h2>\n<div class=\"mw-geshi mw-code mw-content-ltr\" dir=\"ltr\">\n<div class=\"bash source-bash\">\n<pre class=\"de1\"><span class=\"kw2\">vi<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>login.defs<\/pre>\n<\/div>\n<\/div>\n<p>login.defs \ud30c\uc77c\uc744 \uc5f4\uc5b4 \uc77c\ubd80\ub97c \uc544\ub798\uc640 \uac19\uc774 \uc218\uc815\ud55c\ub2e4.<sup id=\"cite_ref-1\" class=\"reference\"><a href=\"http:\/\/jmnote.com\/wiki\/%EB%A6%AC%EB%88%85%EC%8A%A4_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C_%EC%A0%95%EC%B1%85#cite_note-1\">[1]<\/a><\/sup><\/p>\n<div class=\"mw-geshi mw-code mw-content-ltr\" dir=\"ltr\">\n<div class=\"bash source-bash\">\n<pre class=\"de1\">PASS_MAX_DAYS   <span class=\"nu0\">60<\/span>\nPASS_MIN_DAYS   <span class=\"nu0\">1<\/span>\nPASS_MIN_LEN    <span class=\"nu0\">8<\/span>\nPASS_WARN_AGE   <span class=\"nu0\">7<\/span><\/pre>\n<\/div>\n<\/div>\n<dl>\n<dd>\u2192 \uc0c8\ub85c \uc0dd\uc131\ub418\ub294 \uacc4\uc815\uc5d0 \ub300\ud574 \uc815\ucc45\uc774 \uc801\uc6a9\ub41c\ub2e4.<\/dd>\n<\/dl>\n<h2><span id=\".EA.B0.99.EC.9D.B4_.EB.B3.B4.EA.B8.B0\" class=\"mw-headline\">\uac19\uc774 \ubcf4\uae30<\/span><\/h2>\n<ul>\n<li><a title=\"\ub9ac\ub205\uc2a4 \ud328\uc2a4\uc6cc\ub4dc \uc815\ucc45 \ubcc0\uacbd\" href=\"http:\/\/jmnote.com\/wiki\/%EB%A6%AC%EB%88%85%EC%8A%A4_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C_%EC%A0%95%EC%B1%85_%EB%B3%80%EA%B2%BD\">\ub9ac\ub205\uc2a4 \ud328\uc2a4\uc6cc\ub4dc \uc815\ucc45 \ubcc0\uacbd<\/a><\/li>\n<li><a class=\"mw-redirect\" title=\"\/etc\/login.defs \uae30\ubcf8\uac12\" href=\"http:\/\/jmnote.com\/wiki\/\/etc\/login.defs_%EA%B8%B0%EB%B3%B8%EA%B0%92\">\/etc\/login.defs \uae30\ubcf8\uac12<\/a><\/li>\n<li><a title=\"\ubcf5\uc7a1\ud55c \ud328\uc2a4\uc6cc\ub4dc\" href=\"http:\/\/jmnote.com\/wiki\/%EB%B3%B5%EC%9E%A1%ED%95%9C_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C\">\ubcf5\uc7a1\ud55c \ud328\uc2a4\uc6cc\ub4dc<\/a><\/li>\n<li><a class=\"mw-redirect\" title=\"\ub9ac\ub205\uc2a4 \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd\uc77c \ud655\uc778\ud558\uae30\" href=\"http:\/\/jmnote.com\/wiki\/%EB%A6%AC%EB%88%85%EC%8A%A4_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C_%EB%B3%80%EA%B2%BD%EC%9D%BC_%ED%99%95%EC%9D%B8%ED%95%98%EA%B8%B0\">\ub9ac\ub205\uc2a4 \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd\uc77c \ud655\uc778\ud558\uae30<\/a><\/li>\n<li><a title=\"\uc708\ub3c4\uc6b0 \ud328\uc2a4\uc6cc\ub4dc \uc815\ucc45\" href=\"http:\/\/jmnote.com\/wiki\/%EC%9C%88%EB%8F%84%EC%9A%B0_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C_%EC%A0%95%EC%B1%85\">\uc708\ub3c4\uc6b0 \ud328\uc2a4\uc6cc\ub4dc \uc815\ucc45<\/a><\/li>\n<li><a title=\"\/etc\/shadow\" href=\"http:\/\/jmnote.com\/wiki\/\/etc\/shadow\">\/etc\/shadow<\/a><\/li>\n<li><a title=\"\/etc\/pam.d\/system-auth\" href=\"http:\/\/jmnote.com\/wiki\/\/etc\/pam.d\/system-auth\">\/etc\/pam.d\/system-auth<\/a><\/li>\n<\/ul>\n<h2><span id=\".EC.A3.BC.EC.84.9D\" class=\"mw-headline\">\uc8fc\uc11d<\/span><\/h2>\n<ol class=\"references\">\n<li id=\"cite_note-1\"><span class=\"mw-cite-backlink\"><a href=\"http:\/\/jmnote.com\/wiki\/%EB%A6%AC%EB%88%85%EC%8A%A4_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C_%EC%A0%95%EC%B1%85#cite_ref-1\"><span class=\"cite-accessibility-label\">\uc774\ub3d9<\/span>\u2191<\/a><\/span> <span class=\"reference-text\"><a class=\"external free\" href=\"http:\/\/www.gits.co.kr\/bbs\/board.php?bo_table=pds&amp;wr_id=82&amp;page=2\" target=\"_blank\" rel=\"nofollow\">http:\/\/www.gits.co.kr\/bbs\/board.php?bo_table=pds&amp;wr_id=82&amp;page=2<\/a><\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\ud655\uc778 \ubc29\ubc95 [root@jmnote ~]# grep ^PASS \/etc\/login.defs PASS_MAX_DAYS 99999 PASS_MIN_DAYS 0 PASS_MIN_LEN 5 PASS_WARN_AGE 7 \uae30\ubcf8\uac12 \ubc0f \uc758\ubbf8 \/etc\/login.defs \uae30\ubcf8\uac12 \ubb38\uc11c\ub97c \ucc38\uace0\ud558\uc2ed\uc2dc\uc624. PASS_MAX_DAYS 99999 PASS_MIN_DAYS 0 PASS_MIN_LEN 5 PASS_WARN_AGE 7 PASS_MAX_DAYS &#8211; \ud328\uc2a4\uc6cc\ub4dc \uc0ac\uc6a9 \uac00\ub2a5 \uae30\uac04(\uc77c). PASS_MIN_DAYS &#8211; \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd \ucd5c\uc18c \uae30\uac04(\uc77c). PASS_MIN_LEN &#8211; \ud328\uc2a4\uc6cc\ub4dc \ucd5c\uc18c \uae38\uc774 PASS_WARN_AGE &#8211; \ud328\uc2a4\uc6cc\ub4dc \uae30\uac04 \ub9cc\ub8cc \uacbd\uace0 \uae30\uac04(\uc77c). \uad8c\uc7a5 \uc124\uc815(\ubcf4\uc548 \uac15\ud654) vi \/etc\/login.defs login.defs \ud30c\uc77c\uc744 \uc5f4\uc5b4 \uc77c\ubd80\ub97c \uc544\ub798\uc640 \uac19\uc774 \uc218\uc815\ud55c\ub2e4.[1] PASS_MAX_DAYS 60 PASS_MIN_DAYS 1 PASS_MIN_LEN 8 PASS_WARN_AGE 7 \u2192 \uc0c8\ub85c \uc0dd\uc131\ub418\ub294 \uacc4\uc815\uc5d0 \ub300\ud574 \uc815\ucc45\uc774 \uc801\uc6a9\ub41c\ub2e4. \uac19\uc774 \ubcf4\uae30 \ub9ac\ub205\uc2a4 \ud328\uc2a4\uc6cc\ub4dc \uc815\ucc45 \ubcc0\uacbd \/etc\/login.defs \uae30\ubcf8\uac12 \ubcf5\uc7a1\ud55c \ud328\uc2a4\uc6cc\ub4dc \ub9ac\ub205\uc2a4 \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd\uc77c \ud655\uc778\ud558\uae30 \uc708\ub3c4\uc6b0 \ud328\uc2a4\uc6cc\ub4dc \uc815\ucc45 \/etc\/shadow \/etc\/pam.d\/system-auth \uc8fc\uc11d \uc774\ub3d9\u2191 http:\/\/www.gits.co.kr\/bbs\/board.php?bo_table=pds&amp;wr_id=82&amp;page=2<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[17],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-8l","jetpack-related-posts":[{"id":968,"url":"https:\/\/blog.box.kr\/?p=968","url_meta":{"origin":517,"position":0},"title":"windows)how to reduce of time_wait","date":"2015-09-15","format":false,"excerpt":"after \"regedit\" and find key as below HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters and make key as DWORD, name is \"TcpTimeWaitDelay\" and value is 30 ( recommend ) \u00a0 and additional information as below... \u00a0 http:\/\/sangchul.kr\/4857329 ====== \uc708\ub3c4\uc6b0\uc5d0\uc11c TCP \ud30c\ub77c\ubbf8\ud130 \ud29c\ub2dd ====== \u00a0 \uacb0\uad6d \uc708\ub3c4\uc6b0\uc5d0\uc11c TCP \uc5f0\uacb0\uc758 \uac1c\uc218\ub97c \ucd5c\ub300\ud55c \ub298\uc774\uae30 \uc704\ud55c \ubc29\ubc95\uc740 TcpTimedWaitDelay, MaxUserPort, MaxFreeTcbs,\u2026","rel":"","context":"In &quot;OS tune&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":649,"url":"https:\/\/blog.box.kr\/?p=649","url_meta":{"origin":517,"position":1},"title":"[\ud38c]Tomcat7 tomcat-jdbc \uc124\uc815 &#8211; Broken pipe \uc5d0\ub7ec \ud68c\ud53c","date":"2015-04-05","format":false,"excerpt":"tomcat-jdbc\ub85c MySQL\uc5d0 \uc5f0\uacb0\ud55c \uacbd\uc6b0 \"java.net.SocketException: Broken pipe\" \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \uacbd\uc6b0\ub97c \uac00\ub054 \ubcfc \uc218 \uc788\ub2e4. \ub300\ubd80\ubd84\uc758 \uacbd\uc6b0 connection idle time\uc774 MySQL\uc5d0 \uc124\uc815\ub41c wait_timeout\uc744 \uc9c0\ub098\uc11c DB\uc5d0\uc11c \uc5f0\uacb0\uc744 \ub04a\uc740 \uac83\uc774\ub2e4. \uc774\ub97c \ubc29\uc9c0\ud558\ub824\uba74 connection\uc774 \uc77c\uc815 \uae30\uac04\ub3d9\uc548 \uc0ac\uc6a9\ub418\uc9c0 \uc54a\uc73c\uba74 close\ub418\ub3c4\ub85d \uc124\uc815\ud558\uac70\ub098 connection \ub300\uc5ec\uc2dc\uc5d0 connection\uc744 \uccb4\ud06c\ud558\ub3c4\ub85d \ud558\uba74 \ub41c\ub2e4. \uc124\uc815 1 - \uc77c\uc815 \uae30\uac04\ub3d9\uc548 \uc0ac\uc6a9\ub418\uc9c0 \uc54a\uc73c\uba74 connection\uc744\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":687,"url":"https:\/\/blog.box.kr\/?p=687","url_meta":{"origin":517,"position":2},"title":"[\ud38c]MariaDB \uc124\uc815 \ud30c\uc77c my.cnf","date":"2015-04-13","format":false,"excerpt":"http:\/\/www.programkr.com\/blog\/MUDM5ADMwYT2.html \u00a0 \u00a0 # MariaDB database server configuration file. # # You can copy this file to one of: # - \"\/etc\/mysql\/my.cnf\" to set global options, # - \"~\/.my.cnf\" to set user-specific options. # # One can use all long options that the program supports. # Run program with --help\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":694,"url":"https:\/\/blog.box.kr\/?p=694","url_meta":{"origin":517,"position":3},"title":"* APM\uc124\uce58","date":"2015-04-15","format":false,"excerpt":"1. \uc124\uc815 \ubc29\ud654\ubcbd \ucf1c\uc838 80 \ud3ec\ud2b8, 3306 \ud3ec\ud2b8 vi \/etc\/sysconfig\/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT \/etc\/init.d\/iptables restart #\ub9c8\uc9c0\ub9c9\uc73c\ub85c \ub2e4\uc2dc \ubc29\ud654\ubcbd \ub54c\ubb38\uc5d0 \uc124\uc815\uc774 \uc801\uc6a9\ub429\ub2c8\ub2e4 2. \ub2eb\uae30SELINUX vi \/etc\/selinux\/config\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":137,"url":"https:\/\/blog.box.kr\/?p=137","url_meta":{"origin":517,"position":4},"title":"How to set default session timeout in Linux","date":"2014-06-24","format":false,"excerpt":"How to set default session timeout in Linux My DC operation guys access Linux servers on a daily basis but somehow they never remember to log out. This is a security risk as anyone could gain access to the open console and create caos. Today, yet again I\u2019m forced to\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":787,"url":"https:\/\/blog.box.kr\/?p=787","url_meta":{"origin":517,"position":5},"title":"[scrap] Install MRTG (Multi Router Traffic Grapher) to see network traffic data on the web.","date":"2015-05-13","format":false,"excerpt":"http:\/\/www.server-world.info\/en\/note?os=CentOS_6&p=mrtg \u00a0 Install MRTG (Multi Router Traffic Grapher) to see network traffic data on the web. [1] Install Apache HTTP Server, refer to here. [2] Install MRTG, SNMP. [root@dlp ~]# yum -y install net-snmp net-snmp-utils mrtg [3] Configure SNMP (Simple Network Management Protocol). [root@dlp ~]# vi \/etc\/snmp\/snmpd.conf # line 41:\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.server-world.info\/en\/CentOS_6\/mrtg\/img\/1.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/517"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=517"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/517\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}