Allowing root access in telnet server for Freebsd
This is just a quick post. Someone ask me on how to allow root login in telnet. This is not advisable to do but just sharing this stuff.
1) Open /etc/ttys as root.
2) Append “off secure” to the lines beginning with “tty” as follows.
ttyp0 none network off secure
ttyp1 none network off secure
ttyp2 none network off secure
ttyp3 none network off secure
ttyp4 none network off secure
ttyp5 none network off secure3) Restart the telnet daemon using the following command (as root).
# /etc/rc.d/inetd restart
I’m using FreeBSD 8.2 and this doesn’t work.
I still get [ SRA login failed ] when I try to log in as root via telnet.
I have not yet upgraded to 8.2. But the above post is tested on FreeBSD 7.1 and FreeBSD 7.2.