From owner-freebsd-questions@FreeBSD.ORG Sun Mar 11 14:22:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B5E016A406 for ; Sun, 11 Mar 2007 14:22:45 +0000 (UTC) (envelope-from enigma@k1.com.br) Received: from sipserver.k1.com.br (customer-200195195217.idc.onda.com.br [200.195.195.217]) by mx1.freebsd.org (Postfix) with ESMTP id BB22C13C46A for ; Sun, 11 Mar 2007 14:22:44 +0000 (UTC) (envelope-from enigma@k1.com.br) Received: from k1.com.br (localhost [127.0.0.1]) by sipserver.k1.com.br (8.13.6/8.13.6) with ESMTP id l2BDS4bB027959 for ; Sun, 11 Mar 2007 11:22:43 -0300 (BRT) (envelope-from enigma@k1.com.br) X-MessageWall-Score: 0 (k1.com.br) Received: from [201.21.172.89] (authenticated as k1) by k1.com.br (MessageWall 1.0.8) with SMTP; 11 Mar 2007 14:22:43 -0000 From: Sergio Lenzi To: freebsd-questions@freebsd.org In-Reply-To: <1173622192.1208.21.camel@localhost> References: <20070310224946.K10353@chylonia.3miasto.net> <200703101338.22384.beech@alaskaparadise.com> <20070311081332.G66000@chylonia.3miasto.net> <14989d6e0703110143i53b3d0bfh65d0e4092993e82e@mail.gmail.com> <20070311110809.O84473@chylonia.3miasto.net> <1173622192.1208.21.camel@localhost> Date: Sun, 11 Mar 2007 11:22:42 -0300 Message-Id: <1173622962.1208.29.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: root login with telnetd The FINAL SOLUTION X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2007 14:22:45 -0000 So..... resuming: 1) change some lines in /etc/ttys to: 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 secure ttyp6 none network off secure ttyp7 none network off secure ttyp8 none network off secure ttyp9 none network off secure ttypa none network off secure ttypb none network off secure ttypc none network 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