<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">
   <code class="language-plaintext highlighter-rouge" style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14.42px; color: var(--highlighter-rouge-color); word-break: break-word; hyphens: none; border-radius: 4px; background-color: var(--inline-code-bg); margin: 0px 0.15rem; padding: 3px 5px;">FlyingDeuk's</code>
   </p>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">라즈베리파이를 가정내에서만 사용하는 것은… 의미가 없다고 하겠다.<br style="box-sizing: border-box;" />외부에서 사용하기 위해서는 보안상 암호변경도 필요하겠지만 기본 ID인 pi도 변경해주는 것이 추천된다. (내가 사용한 pi ID 삭제법이다.)<br style="box-sizing: border-box;" />추가로 지인들에게 미디어 서버를 공유하기 위해서는 유저 설정도 필요하다. 아래가 해당 내용이다.</p>
   </blockquote>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">
   <code class="language-plaintext highlighter-rouge" style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14.42px; color: var(--highlighter-rouge-color); word-break: break-word; hyphens: none; border-radius: 4px; background-color: var(--inline-code-bg); margin: 0px 0.15rem; padding: 3px 5px;">Wiki's</code>
   </p>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;"><span style="box-sizing: border-box; font-weight: bolder;">사용자</span>는 컴퓨터 환경에서는 컴퓨터 시스템을 사용하는 사람을 일컫는 말이다. 사용자들은 보안, 로그 기록, 리소스 관리 등의 목적을 위해 인증을 시도해야 한다. 인증을 시도할 때 사용자는 계정 (사용자 계정)과 사용자 이름 (일부 시스템에서는 화면 이름, 핸들, 닉네임, 닉, 별칭이라고도 함, 문화어: 리용자이름)을 가지고 있어야 하며, 대개의 경우 암호가 필요하다. 사용자들은 사용자 인터페이스를 사용하여 시스템에 접근하고 인증을 처리하면 된다.</p>
   </blockquote>
<h2 id="라즈베리파이-pi-삭제법" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.4rem; padding-top: 3.5rem; background-color: #1b1b1e;">라즈베리파이 pi 삭제법</h2>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">여러가지 방법이 있겠지만 내가 사용한 기본 계정인 pi를 안전하게 삭제하는 방법이다.</p>
<h3 id="user-추가" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.25rem; padding-top: 3.5rem; background-color: #1b1b1e;">User 추가</h3>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">User 추가 방법은 크게 두가지이다.</p>
<ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <li style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bolder;">adduser</span>&nbsp;: 암호, 홈폴더, 사용자 정보등을 한번에 설정</li>
   <li style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bolder;">useradd</span>&nbsp;: 아이디만 추가함 (암호등 다른 것을은 수동으로 설정해야함)
      <blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color);">
         <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">개인적으로 가족은 adduser로 지인들은 useradd로 추가함. 지인들은 단지 media만 접속하게 제한할 예정임.</p>
         </blockquote>
      </li>
   </ul>
<h4 id="adduser-사용" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.15rem; padding-top: 3.5rem; background-color: #1b1b1e;">adduser 사용</h4>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">pi를 대체할 본인의 ID를 만든다.</p>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">pi@deuktest:~ $ sudo adduser deuktest
Adding user `deuktest' ...
Adding new group `deuktest' (1001) ...
Adding new user `deuktest' (1001) with group `deuktest' ...
Creating home directory `/home/deuktest' ...
Copying files from `/etc/skel' ...
새  암호:
새  암호 재입력:
passwd: 암호를 성공적으로 업데이트했습니다
deuktest의 사용자의 정보를 바꿉니다
새로운 값을 넣거나, 기본값을 원하시면 엔터를 치세요
	이름 []: deuktest
	방 번호 []:
	직장 번화번호 []:
	집 전화번호 []:
	기타 []:
Is the information correct? [Y/n] y
pi@deuktest:~ $
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">1001번에 deuktest가 추가된다. 암호, 개인정보등을 넣을 수 있고 폴더도 생성된다.</p>
   </blockquote>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">pi@deuktest:/home $ ls -al
합계 16
drwxr-xr-x  4 root       root       4096  8월 22 23:42 .
drwxr-xr-x 18 root       root       4096  5월  8 00:07 ..
drwxr-xr-x  2 deuktest deuktest 4096  8월 22 23:42 deuktest
drwxr-xr-x 17 pi         pi         4096  8월 22 22:25 pi
pi@deuktest:/home $
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">/home/ 폴더에 deuktest 폴더가 추가 되었다.</p>
   </blockquote>
<h4 id="useradd-사용" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.15rem; padding-top: 3.5rem; background-color: #1b1b1e;">useradd 사용</h4>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">단지 ID와 group만을 만든다. 암호는 따로 만들어 줘야함.</p>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">pi@deuktest:/home $ sudo useradd deuktest2
pi@deuktest:/home $
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<h5 id="암호-등록" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.1rem; padding-top: 3.5rem; background-color: #1b1b1e;">암호 등록</h5>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">pi@deuktest:/home $ sudo passwd deuktest2
새  암호:
새  암호 재입력:
passwd: 암호를 성공적으로 업데이트했습니다
pi@deuktest:/home $
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<h3 id="관리자-권한-설정" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.25rem; padding-top: 3.5rem; background-color: #1b1b1e;">관리자 권한 설정</h3>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">pi 삭제를 위해서는 pi가 가지고 있는 모든 관리자 권한을 넘겨줘야한다. 이는 group에서 변경이 가능하다.</p>
<h4 id="sudo-cat-etcgroup" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.15rem; padding-top: 3.5rem; background-color: #1b1b1e;">sudo cat /etc/group</h4>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">group은 해당 프로그램에 접근가능한 그룹에 포함되는지를 알 수 있다.</p>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">pi@deuktest:/home $ sudo cat /etc/group
root:x:0:
.
adm:x:4:pi
.
dialout:x:20:pi
.
cdrom:x:24:pi
.
sudo:x:27:pi
audio:x:29:pi,pulse
.
video:x:44:pi
plugdev:x:46:pi
games:x:60:pi
users:x:100:pi
.
input:x:105:pi
.
netdev:x:109:pi
pi:x:1000:
.
spi:x:999:pi
i2c:x:998:pi
gpio:x:997:pi
.
lpadmin:x:117:root,pi
.
deuktest:x:1001:
deuktest2:x:1002:
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;"><span style="box-sizing: border-box; font-weight: bolder;">cat</span>이라는 명령어로 /etc/group이라는 파일의 내용을 표시하면 pi가 그룹으로 있는 명령어들을 볼 수 있다.</p>
   </blockquote>
<h4 id="sudo-vim-etcgroup" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.15rem; padding-top: 3.5rem; background-color: #1b1b1e;">sudo vim /etc/group</h4>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">여러가지 텍스트 편집기가 존재한다. CLI는 텍스트 기반이므로 모든 설정변경은 텍스트 편집으로 이루어진다. nano, vi, vim 등이 가능하며 본인은 vim을 사용한다. 설치 필요<br style="box-sizing: border-box;" /><span style="box-sizing: border-box; font-weight: bolder;">sudo apt install vim</span>&nbsp;(리눅스 편집기 vim 참조)</p>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">pi@deuktest:/home $ sudo vim /etc/group
.
bin:x:2:
sys:x:3:
adm:x:4:pi,deuktest
.
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">pi가 있는 모든 group에 deuktest를 붙여준다.</p>
   </blockquote>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">pi@deuktest:/home $ sudo reboot
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<h3 id="새로운-관리자로-로그인" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.25rem; padding-top: 3.5rem; background-color: #1b1b1e;">새로운 관리자로 로그인</h3>
<h4 id="ssh-로그인" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.15rem; padding-top: 3.5rem; background-color: #1b1b1e;">SSH 로그인</h4>
<h5 id="ssh-deuktest192168xxxx" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.1rem; padding-top: 3.5rem; background-color: #1b1b1e;">ssh deuktest@192.168.xx.xx</h5>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">아이디를 변경해서 로그인</p>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">~ » ssh deuktest@192.168.xx.xx
deuktest@192.168.xx.xx's password:
Linux DEUKpi 5.10.52-v7l+ #1441 SMP Tue Aug 3 18:11:56 BST 2021 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
deuktest@deuktest:~ $
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<h4 id="autologin-설정" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.15rem; padding-top: 3.5rem; background-color: #1b1b1e;">Autologin 설정</h4>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;"><img src="https://flyingdeuk.github.io/img/living/pi/user1.jpg" data-src="/img/living/pi/user1.jpg" alt="user" data-loaded="true" style="box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; margin-top: 0.5rem; margin-bottom: 1.5rem; position: relative; left: 328.859px; transform: translateX(-50%); filter: brightness(90%);" /></p>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">앞서 살펴본&nbsp;<span style="box-sizing: border-box; font-weight: bolder;">raspi-config</span>를 deuktest계정으로 들어가면&nbsp;<span style="box-sizing: border-box; font-weight: bolder;">System Options</span>&nbsp;-&gt;&nbsp;<span style="box-sizing: border-box; font-weight: bolder;">Desktop Autologin Desktop GUI</span>를 해당 아이디로 설정하면된다.</p>
   </blockquote>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">/home/deuktest 폴더에 다운로드, 문서, 비디오, 사진, 음악등의 폴더가 자동으로 생성되고 자동으로 로그인된다. -&gt;&nbsp;<span style="box-sizing: border-box; font-weight: bolder;">메인 사용자로 자동 등록되는 것임</span></p>
<h3 id="pi-계정-삭제" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.25rem; padding-top: 3.5rem; background-color: #1b1b1e;">pi 계정 삭제</h3>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">자신만의 서버에 pi라는 이름을 삭제하고 싶다면 위와 같은 과정을 거쳐서 최종적으로 삭제하면 되겠다.</p>
<h4 id="sudo-deluser-remove-all-pi" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.15rem; padding-top: 3.5rem; background-color: #1b1b1e;">sudo deluser –remove-all pi</h4>
<div class="language-plaintext highlighter-rouge" style="box-sizing: border-box; border-radius: 5px; color: var(--highlighter-rouge-color); margin-bottom: 1.2em; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px;">
   <div class="highlight" style="box-sizing: border-box; border-radius: 5px; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; overflow: auto;">
      <code style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 14px; color: #e83e8c; word-break: break-word; hyphens: none;">
         <table class="rouge-table" style="padding: 0px; border-width: 0px; border-style: initial; border-color: initial;">
            <tbody style="box-sizing: border-box;">
               <tr style="box-sizing: border-box;">
                  <td class="rouge-gutter gl" style="box-sizing: border-box; padding: 0px; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;"></td>
                  <td class="rouge-code" style="box-sizing: border-box; padding: 0.8rem 1rem; font-size: 13.3px; border-width: 0px; border-style: initial; border-color: initial;">
                     <pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 0.85rem; margin-top: 0px; margin-bottom: 0px; overflow: visible; color: #818c96; line-height: 1.4rem; overflow-wrap: normal; word-break: normal; background-color: #272822;">deuktest@deuktest:~ $ sudo deluser --remove-all pi
Looking for files to backup/remove ...
</pre>
                     </td>
                  </tr>
               </tbody>
            </table>
         </code>
      </div>
   </div>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">약간의 오류들이 많이 표시되고 나서 프로세스가 끝이 난다… 뭔가 찝찝하다… 그래서 찾아본 다른 방법은 pi 아이디를 rename하는 것이다. -&gt; 다음 포스팅!</p>
   </blockquote>
<hr style="box-sizing: content-box; height: 0px; overflow: visible; margin-top: 1rem; margin-bottom: 1rem; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right-style: initial; border-bottom-style: initial; border-left-style: initial; border-color: var(--main-border-color); border-image: initial; border-top-style: solid; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;" />
<h3 id="postscript" style="box-sizing: border-box; margin-top: -2.5rem; margin-bottom: 1rem; font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 400; line-height: 1.2; color: #afb0b1; font-size: 1.25rem; padding-top: 3.5rem; background-color: #1b1b1e;">PostScript</h3>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;">pi ID의 이름만 변경하면 더욱 손쉽게 바꾸는 것이 가능하다. ROOT 권한으로… 상기의 절차들은 리눅스 초보로써 구조 등등을 공부하면서 비교적 쉬운 방법이라 생각이 들어서 써 봤다. 손쉬운 방법은 포스팅 예정이다.</p>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; font-size: 16px; background-color: #1b1b1e;">
   <p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem;">많은 사람들이 pi 기본 계정을 건드리면 안된다고 뭔가 불안하다고 생각하는 경우가 좀 있는 듯하다… 하지만 아직까지 전혀 문제없이 잘 사용하고 있다!! 도전~~~</p>
   </blockquote>
<p style="box-sizing: border-box; margin-bottom: 1rem; font-size: 1.03rem; color: #afb0b1; font-family: &quot;Source Sans Pro&quot;, &quot;Microsoft Yahei&quot;, sans-serif; background-color: #1b1b1e;"><a href="https://flyingdeuk.github.io/posts/RaspberryPi/" style="box-sizing: border-box; text-decoration-line: none; background-color: transparent; border-bottom: 1px solid var(--link-underline-color);" target="_blank">INDEX로 돌아가기</a></p>