Re: root login with telnetd The FINAL SOLUTION

2007-03-11 Thread Paul Schmehl
--On March 11, 2007 11:22:42 AM -0300 Sergio Lenzi <[EMAIL PROTECTED]> 
wrote:


7) telnet to your server
should now allow root login

What do you gain by allowing telnet access to your hosts that you don't 
get with ssh?


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: root login with telnetd The FINAL SOLUTION

2007-03-11 Thread Wojciech Puchar

works fine. thank you very much (point 6 wasn't needed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: root login with telnetd The FINAL SOLUTION

2007-03-11 Thread Sergio Lenzi
So.  resuming:

1) change some lines in /etc/ttys to:



ttyp0   nonenetwork off secure
ttyp1   nonenetwork off secure
ttyp2   nonenetwork off secure
ttyp3   nonenetwork off secure
ttyp4   nonenetwork off secure
ttyp5   nonenetwork off secure
ttyp6   nonenetwork off secure
ttyp7   nonenetwork off secure
ttyp8   nonenetwork off secure
ttyp9   nonenetwork off secure
ttypa   nonenetwork off secure
ttypb   nonenetwork off secure
ttypc   nonenetwork off secure

> 

2) signal init to read it :  
kill -1 1
3) make sure inetd is running
see the /etc/rc.conf
must have inetd_enable="YES"
4)  remove the "#"  at the line telnet in inetd.conf
5) make inetd run
/etc/rc.d/inetd restart
6) change root password
echo "mysecretpassword"  | pw usermod root -h 0

7) telnet to your server
should now allow root login

Sergio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"