From owner-freebsd-questions Thu Oct 26 18:36:28 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA11881 for questions-outgoing; Thu, 26 Oct 1995 18:36:28 -0700 Received: from nike.efn.org (gurney_j@haus.efn.org [198.68.17.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA11859 for ; Thu, 26 Oct 1995 18:36:01 -0700 Received: (from gurney_j@localhost) by nike.efn.org (8.6.11/8.6.9) id SAA10896; Thu, 26 Oct 1995 18:38:13 -0700 Date: Thu, 26 Oct 1995 18:38:10 -0700 (PDT) From: John-Mark Gurney Reply-To: John-Mark Gurney To: Mark Stout cc: questions@freebsd.org Subject: Re: Anyone using ftpaccess successfully? In-Reply-To: <199510261756.KAA10049@netcom4.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Thu, 26 Oct 1995, Mark Stout wrote: > List: > > > I need to setup restricted logins using ftpaccess config file. But I seem > to have missed something. Here's what I believe I have done correctly. > > * I have the correct permissionson the directory structure for /ftp. > * I have the necessary passwd & group files in /ftp/etc as mode 444 > and owned by root. > * I have the ls command in /ftp/bin, mode 111 owned by root. > * The /etc/group file has the appropriate groups for the users (guest). > * The /etc/passwd file has the home directory set as :/ftp/./userid: > (I have used /bin/sh & /etc/ftponly for the shell. Both are in the > /etc/shells file) > > The anonymous user can login just fine, but any other user gets a failed > login no matter what I do. Does *anyone* have this working? I definately > am at my wits end on this. here is my ftpaccess file: guestgroup cgames class all real,guest,anonymous * limit all 10 Any /etc/msgs/msg.dead readme README* login readme README* cwd=* message /welcome.msg login message .message cwd=* compress yes all local remote tar yes all local remote log commands real log transfers anonymous,real inbound,outbound shutdown /etc/shutmsg email user@hostname hope this helps... TTYL.. John-Mark gurney_j@efn.org Modem/FAX: (503) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)