본문 바로가기

Developement/Server

리눅스 사용자 계정의 로그인 막기

#cat /etc/passwd 에서

해당 계정을 찾아 끝 부분에 :/sbin/nologin 을 추가해 준다.