호그래머

라즈베리파이4(Raspberry Pi 4 Model B) root 계정설정 20.08.10 본문

Raspberry Pi

라즈베리파이4(Raspberry Pi 4 Model B) root 계정설정 20.08.10

호그래머 2020. 8. 10. 13:11
728x90

라즈베리파이 root 계정설정

1. root 계정 비밀번호 설정 sudo paaswd root

2. root 계정 원격접속 허용

sshd_config 수정
Authentication에서 PermitRootLogin yes 추가

PermitRootLogin yes

수정후 저장

 

service ssh restart

3. root 계정 로그인

1. root 계정 비밀번호 변경

2. sshd_config 파일 설정 변경

3. pi 계정이 아닌 root 계정으로  원격 접속이 가능합니다.

4. root 계정에서는 sudo 없이 작업을 진행 할 수 있습니다.

 

728x90
Comments