在Debian中修改Telnet密碼需注意:
passwd
命令修改目標用戶密碼(如sudo passwd username
)。xinetd
管理,編輯/etc/xinetd.d/telnet
,確保disable = no
,并重啟服務(sudo systemctl restart xinetd
)。inetd
,編輯/etc/inetd.conf
,取消Telnet服務行的注釋并重啟服務(sudo systemctl restart inetd
)。/etc/telnetd.conf
,添加login: password
(將password
替換為實際密碼,建議使用強密碼)。安全提示:Telnet傳輸數據為明文,存在安全風險,建議優先使用SSH替代。