Etc

[linux] CentOS root 권한 로그인횟수 풀기

sunghyun1200 2017. 11. 9. 10:33

cat /etc/redhat-release  

먼저 리눅스 버전을 확인

1. Centos 기준을 확인한후

2. cat /etc/ssh/sshd_config 목록을 확인후

vi cat /etc/ssh/sshd_config

하여 편집기를 들어간후

PermitRootLogin : no => yes로 수정

inti 6 명령어 사용하여 해당 서버 재부팅