homework_01
- 최초 등록일
- 2023.06.18
- 최종 저작일
- 2022.02
- 8페이지/ 한컴오피스
- 가격 1,500원
* 본 문서(hwp)가 작성된 한글 프로그램 버전보다 낮은 한글 프로그램에서 열람할 경우 문서가 올바르게 표시되지 않을 수 있습니다.
이 경우에는 최신패치가 되어 있는 2010 이상 버전이나 한글뷰어에서 확인해 주시기 바랍니다.
목차
없음
본문내용
1. Install VMware player (or Virtual Box) on your machine
2. Install Ubuntu linux – Set theusername asyour first name.
3. Logging as a user and start a Terminal (ApplicationsAccessoriesTerminal)
4. Change the root password to “1234” by using “sudo passwd”.
7. Compare the command “echo Hello” and “Echo Hello”
(1)Take a screenshot
(2)Explain the reason of the result
리눅스는 명령어 입력 시 대문자와 소문자를 구별한다. 그렇기 때문에 echo 명령어를 사용했을 때 제대로 실행되고 Echo 명령어 사용 시 잘못된 명령어로 인식한다.
8.Press “CTRL+d” or “ALT+F4”
(1)Describe what happens
CTRL+d 를 입력했을 때는 exit란 명령어가 입력되고 다른 사용자로 로그인이 된다.
현재 프로세스 KILL
ALT+F4 은 터미널을 종료시킨다.
9. Start a Terminal, then do “su” (enter the password, “1234”), then do “groupadd defender”, then do “groupadd attacker”, then do “groupadd neverland”, then do ”useradd peterpan -m -s /bin/bash -G defender,neverland”, then do “useradd hook -m -s /bin/bash -G neverland”, then do “passwd peterpan” (set new password (1234)), then do “passwd hook” (set new password(1234)), then do “usermod -a -G attacker hook”, then do “tail /etc/passwd”, then do “tail /etc/group”, then do “id peterpan”, then do “id hook”, do “exit”
참고 자료
없음