OS/LINUX
root접속불가 발생, 원인은 securetty
오늘도알찬하루
2017. 4. 6. 13:30
반응형
현상: root패스워드를 맞게 입력했음에도, Login incorrect 발생
ㅁ
- 현상 : 패스워드를 입력했음에도 불구하고, Login incorrect 반복
- 원인 : /etc/secuertty 파일에 지정된 tty(터미널 파일)만 root login을 허용하게
하는데, 지정된 tty외의 터미널은 모두 root접속이 차단발생
- 조치 : mv /etc/secuertty /etc/securetty.back
(/etc/seceuretty 무효화 시키기 위해, securetty 파일 rename)
※ securetty manual page
securetty(8) System Administration tools and Daemons securetty(8)
NAME
securetty - add a tty to /etc/securetty
SYNOPSIS
securetty tty
DESCRIPTION
securetty safely adds tty to /etc/securetty.
NOTES
securetty is not normally meant to be run by hand; it is invoked by the
upstart job that sets up the system serial console.
SEE ALSO
securetty(5)
반응형