Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 1995 00:06:34 -0700
From:      Mark Stout <mcs@vpm.com>
To:        hackers@FreeBSD.ORG
Subject:   Re: Anybody using ftp groups with the wu ftpd compiled for freeBSD?
Message-ID:  <199510280709.AAA12586@netcom7.netcom.com>

next in thread | raw e-mail | index | archive | help
At 05:15 PM 10/27/95 -0700, you wrote:
>
>
>I always get an invalid password, although I've stuffed it in the groups 
>file a kazillion times.
>
>Same setup (modulo a DES password rather than crypt) works fine under BSD/OS,
>so I'm starting to think maybe it's got something to do with the MD5 stuff...

I'm having no luck setting up restricted ftp access.  I want my accounts to
ftp into their account and do what they want from there, but that's as far
as they go.  Their home directory in effect becomes their '/' directory,
just /usr/home/ftp becomes the '/' for the anonymous user.  I'm using the
ftpaccess file and trying to setup 'guestgroups'.  However, it fails on me
everytime.  The anonymous user can log in, but valid users can not.

I've done just about everything there is to do and i's not working.  For
example, here's what I've done:

1. Ensured that the users shell is in /etc/shells and that it's world readable
2. Setup the correct permissions in regards to /ftp/bin, /ftp/etc & /ftp/pub 
   along with the necessary files in /ftp/bin and /ftp/etc.
3. Made sure that the passwd file has the right home directory structure, 
   e.g. /ftp/./user:/bin/ftponly
4. That there is a 'ftp' group and a 'guest' group in /etc/group
5. That the users can login using telnet, which I've restricted in 
   /etc/login.access to all but a few

The only thing that I'm thinking can be the problem is the permissions on
the ftp directory structure.  I'm ioncluding it in this message in the hopes
that someone out there can see a problem. 

total 12
drwxrwxrwx  10 root  wheel     512 Oct 26 20:53 ./
drwxr-xr-x  32 root  wheel    2048 Oct 24 00:00 ../
drwxr-xr-x   2 asgs  guest     512 Oct 26 21:26 asgs/
drwxr-xr-x   2 root  ftp       512 Oct 21 11:55 bin/
drwxr-xr-x   2 root  ftp       512 Oct 25 12:50 etc/
-rw-r--r--   1 root  wheel     908 Oct 27 00:37 index.html
drwxr-xr-x   2 root  wheel     512 Oct 21 11:47 lib/
drwxr-xr-x   3 root  wheel     512 Oct 26 20:48 pub/
drwxr-xr-x   2 rldc  guest     512 Oct 24 23:51 rldc/
drwxr-xr-x   3 root  wheel     512 Oct 21 11:48 usr/

/ftp/asgs:
total 8
drwxr-xr-x   2 asgs  guest  512 Oct 26 21:26 ./
drwxrwxrwx  10 root  wheel  512 Oct 26 20:53 ../

/ftp/bin:
total 494
drwxr-xr-x   2 root  ftp       512 Oct 21 11:55 ./
drwxrwxrwx  10 root  wheel     512 Oct 26 20:53 ../
-r-xr-xr-x   1 root  wheel   16384 Oct 21 11:55 compress*
-r-xr-xr-x   1 root  wheel   94208 Oct 21 11:55 gzip*
---x--x--x   1 root  wheel  147456 Oct 21 11:54 ls*
-r-xr-xr-x   1 root  wheel  225280 Oct 21 11:55 tar*

/ftp/etc:
total 5
drwxr-xr-x   2 root  ftp    512 Oct 25 12:50 ./
drwxrwxrwx  10 root  wheel  512 Oct 26 20:53 ../
-rwxr-xr-x   1 root  ftp     37 Oct 25 13:10 group*
-rwxr-xr-x   1 root  ftp    396 Oct 27 13:05 passwd*

/ftp/lib:
total 2
drwxr-xr-x   2 root  wheel  512 Oct 21 11:47 ./
drwxrwxrwx  10 root  wheel  512 Oct 26 20:53 ../

/ftp/mcs:
total 5224
drwxr-xr-x   7 mcs   webmast      512 Oct 26 21:27 ./
drwxrwxrwx  10 root  wheel        512 Oct 26 20:53 ../

/ftp/pub:
total 3
drwxr-xr-x   3 root  wheel  512 Oct 26 20:48 ./
drwxrwxrwx  10 root  wheel  512 Oct 26 20:53 ../
drwxrwxrwx   2 ftp   ftp    512 Oct 27 13:10 incoming/

/ftp/pub/incoming:
total 32
drwxrwxrwx  2 ftp   ftp      512 Oct 27 13:10 ./
drwxr-xr-x  3 root  wheel    512 Oct 26 20:48 ../

/ftp/rldc:
total 9
drwxr-xr-x   2 rldc  guest  512 Oct 24 23:51 ./
drwxrwxrwx  10 root  wheel  512 Oct 26 20:53 ../

/ftp/usr:
total 3
drwxr-xr-x   3 root  wheel  512 Oct 21 11:48 ./
drwxrwxrwx  10 root  wheel  512 Oct 26 20:53 ../
drwxrwxr-x   2 root  wheel  512 Oct 21 11:48 bin/

/ftp/usr/bin:
total 2
drwxrwxr-x  2 root  wheel  512 Oct 21 11:48 ./
drwxr-xr-x  3 root  wheel  512 Oct 21 11:48 ../
==========================================================================
 Mark Stout    |  The Village Potpourri Mall: http://www.vpm.com/
---------------+----------------------------------------------------------
            VPM Enterprises; P.O.Box 6427; Folsom, CA 95763-6427
      Commercial Internet Sales, Marketing and Advertising Specialist
==========================================================================




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510280709.AAA12586>