From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 14:49:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7C36106566C for ; Thu, 15 Dec 2011 14:49:38 +0000 (UTC) (envelope-from linnemannr@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE9A8FC17 for ; Thu, 15 Dec 2011 14:49:38 +0000 (UTC) Received: by dakp5 with SMTP id p5so2151261dak.13 for ; Thu, 15 Dec 2011 06:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UjuRL+ynr/sXqkA33LiG7gq9u6oNHerST5JjpB8TKgw=; b=l0IehGirN5VEYQ79uJ66xx0/SReXemceembNt09D5uJzhUVNF7nIi6lDjwSNFPAKmM l0VO1DgzesEDrfPmhzhtUx/Sh2IXIn0qrjLSCDUAfkW5BIUGPt+3H+6gpLRjbWbuEdMG oCO6ZQQafy0+mGnd9kM0nnW6YUf4Fp8JhAPF4= MIME-Version: 1.0 Received: by 10.68.190.106 with SMTP id gp10mr10290700pbc.89.1323960576501; Thu, 15 Dec 2011 06:49:36 -0800 (PST) Sender: linnemannr@gmail.com Received: by 10.142.195.13 with HTTP; Thu, 15 Dec 2011 06:49:36 -0800 (PST) In-Reply-To: References: Date: Thu, 15 Dec 2011 08:49:36 -0600 X-Google-Sender-Auth: zhGTSQm3yHFiR05bTTHMHicptAE Message-ID: From: Reid Linnemann To: Daniel Lewis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Enabling FTP and Telnet access for root and users 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: Thu, 15 Dec 2011 14:49:38 -0000 On Thu, Dec 15, 2011 at 8:35 AM, Reid Linnemann wrot= e: > On Thu, Dec 15, 2011 at 6:26 AM, Daniel Lewis > wrote: >> How do I enable Telnet and ftp access for root and users? >> =A0I turned on ftp and telnet in inetd but when at telenet or ftp prompt >> access is denied. >> >> Im using free bsd 8.2 >> >> >> >> Thanks, >> Daniel lewis >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" > > Disclaimer: > Why in God's name would you want to enable root access through > insecure means such as telnet and ftp? Do you have a specific > requirement for these two protocols? For many years now ssh/sftp/scp > have been able to securely provide analogous services, and I would > recommend you take advantage of them before opening yourself up to the > woes of root access on ftp and telnet. > > That being said, > > Are you not able to authenticate any users or just root? > > Are your ftpd and telnetd services being wrapped by inetd? Can you > show inetd.conf? > > /etc/ftpusers contains a list of usernames that will be denied access > through ftp, root and its alias toor are both in there by default Also, telnetd will never authenticate root unless your ttyp* terminals are set secure in /etc/ttys, which is also not recommended.