![Raspberry PI ArchLinux 텔넷 서버 4 로그인 오류](https://linux55.com/image/195998/Raspberry%20PI%20ArchLinux%20%ED%85%94%EB%84%B7%20%EC%84%9C%EB%B2%84%204%20%EB%A1%9C%EA%B7%B8%EC%9D%B8%20%EC%98%A4%EB%A5%98.png)
텔넷을 통해 설치했고 pacman -S inetutils
텔넷을 통해 로그인을 시도하고 싶은데, 텔넷을 사용하여 telnet localhost
연결 하면
이 나타납니다
[root@alarmpi ~]# systemctl restart telnet.socket
[root@alarmpi ~]# telnet localhost
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Linux 5.10.38-2-ARCH (alarmpi) (pts/1)
Login incorrect
Login incorrect
Login incorrect
Login incorrect
Login incorrect
Connection closed by foreign host.
많이 구글링해서 방금 알아냈어요https://www.toolbox.com/tech/operating-systems/question/problems-using-telnet-to-access-a-solaris-8-server-032008/하지만 해결책이 없어
내 거/etc/xinetd/telnet
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/telnetd
log_on_failure += USERID
disable = no
}
답변1
해결책:
그렇지 않은 경우 설치 pacman -S xinetd
하고 변경하십시오.nano /etc/xinetd/telnet
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/telnetd
server_args = --exec-login=/usr/bin/login
log_on_failure += USERID
disable = no
}
그럼 systemctl stop telnet.socket
하고systemctl start xinetd
http://폴라홈.com/service/man/?qf=telnetd&tf=2&of=Archlinux&sf=8
--exec-login=STRING: /usr/bin/login 대신 실행할 프로그램을 설정합니다.