Subject: SITE GROUP and SITE GPASS

From: [email-masked] (Brent Bice)
Date: Fri, 21 Jun 1996 14:08:01 -0700

I'm not sure I'm subscribed to the list yet, so please direct all
replies to [email-masked], and I'll summarize if there's any
interest...

   I'd like to be able to restrict access to certain directories to only
certain users, without setting up accounts for them in /etc/passwd. It
seemed to me that if I set up a group in ftpgroups and /etc/group,
and made the directory only readable, writable and executable by only
this group, that people could log in anonymously, do something like:
   quote SITE GROUP punkinhds
   quote SITE GPASS punkinpwd
and then have access to the directory in question.  

   This should work, right?  How would you do this if you didn't use
ftpgroup?

   I've set this up, and the two SITE commands appear to work (I get an
error if I give it the wrong password, and it says "Group access enabled."
when I give it a good password).  But I'm still unable to access the
directory.

   I've got an entry in ftpgroups that looks like this:
punkinhds:<encrypted junk>:punkinhds

   and /etc/group has an entry like:
punkinhds:<same encrypted junk>:1000:

   The directory permissions look like:
d---rwx---   root  punkinhds    <today's date>    punkinhds

   I don't think it's a UNIX permission problem because I can telnet in to
the same machine and do a newgrp command, enter the right password, and
*then* access the directory.  But obviously I don't want all of the 
punkinhds group to be able to telnet in (grin).

   What am I missing??  Any suggestions welcome...

Brent Bice
[email-masked]