forked from Ivasoft/openwrt
Disable telnet in favor of passwordless SSH
This enables passworldless login for root via SSH whenever no root password is set (e.g. after reset, flashing without keeping config or in failsafe) and removes telnet support alltogether. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46809
This commit is contained in:
@@ -10,8 +10,7 @@ then
|
||||
else
|
||||
cat << EOF
|
||||
=== IMPORTANT ============================
|
||||
Use 'passwd' to set your login password
|
||||
this will disable telnet and enable SSH
|
||||
Use 'passwd' to set your login password!
|
||||
------------------------------------------
|
||||
EOF
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user