From owner-freebsd-questions Sat Dec 30 15:56:29 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA25205 for questions-outgoing; Sat, 30 Dec 1995 15:56:29 -0800 (PST) Received: from ferrari.sfu.ca (ferrari.sfu.ca [142.58.110.11]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA25200 for ; Sat, 30 Dec 1995 15:56:27 -0800 (PST) Received: from gumby.ve7zd.ampr.org ([142.58.14.242]) by ferrari.sfu.ca with SMTP (8.7.1/SFU-2.6H) id PAA28429 (from mcquiggi@sfu.ca); Sat, 30 Dec 1995 15:56:22 -0800 (PST) Message-Id: <199512302356.PAA28429@ferrari.sfu.ca> X-Sender: mcquiggi@ferrari.sfu.ca X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 30 Dec 1995 15:56:18 -0800 To: Jun Gyu-Chang From: Kevin McQuiggin Subject: Re: [Q] anonymous FTP setup Cc: questions@freebsd.org Sender: owner-questions@freebsd.org Precedence: bulk At 03:22 PM 95.12.30 +0900, you wrote: > > Hi, there.. > > I have encountered some trivial problem during setting up of > > anonymous ftp. > > I think I made all the directories and necessary files properly. > > But, when I connect as anonymous, "ls" does not shows proper > > ownership. (user does not appear but group does..) > > d--x--x--x 2 0 operator 512 Dec 15 07:40 bin > d--x--x--x 2 0 operator 512 Dec 30 03:38 etc > drwxrwxrwx 2 0 operator 512 Dec 28 05:59 incoming > dr-xr-xr-x 3 0 operator 512 Dec 13 12:38 pub > > What shall I do? > > PS. followings are the content of passwd and group file. > > retcam# more passwdo > root:*:0:0::/:/usr/bin/false > bin:*:2:2::/:/usr/bin/false > ftp:*:500:1:Anonymous FTP user:/usr/ftp:/usr/bin/false > > retcam# more group > operator:*:0: > anonymous:*:1: > bin:*:2: > other:*:3: Have you copied /bin/ls to /usr/ftp/bin and done a chmod on it to 111? There's an example of how to properly set up anonymous ftp in the book "TCP/IP Network Administration" from O'Reilly & Assoc. It lists all the steps necessary, and then gives an example. Kevin --- Kevin McQuiggin VE7ZD mcquiggi@sfu.ca