Subject: FTP Security: real users as guests....ls? (fwd)

From: Jim Warren <[email-masked]>
Date: Fri, 23 Feb 1996 12:31:53 -0800 (PST)

......I have set up real users as guests, and it seems to work ok 
with one exception....when the user logs on it 
does the chgroot ok, but you can't see the file/directory listing..
....I have tried to put 'ls' in the user directory, but still no 
difference.I've included a copy of the ftpaccess file ..... could you 
give me any clues?
Thanks!
jim

loginfails 2

#class   local   real,guest,anonymous *.domain 0.0.0.0
#class   remote  real,guest,anonymous *
class	local	real	gobi.llv.com
class	local	real	mojave.llv.com
class	local	real	oasis.llv.com
class	guests	real	*
class 	guests	guest	*
class	anonymouses 	anonymous	*

limit   local   20  Any                 /etc/msgs/msg.toomany
limit   remote  100 SaSu|Any1800-0600   /etc/msgs/msg.toomany
limit   remote  60  Any                 /etc/msgs/msg.toomany

readme  README*    login
readme  README*    cwd=*

message /welcome.msg            login
message .message                cwd=*

compress        yes             local remote
tar             yes             local remote

# allow use of private file for SITE GROUP and SITE GPASS?
# private         yes

# passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
passwd-check    rfc822  warn

log commands anonymous,guest,real
log transfers anonymous,guest,real inbound,outbound
shutdown /etc/shutmsg

# all the following default to "yes" for everybody
delete          yes     user			# delete permission?
delete          yes     guest			# delete permission?
delete          no      anonymous		# delete permission?
overwrite       yes     user		        # overwrite permission?
overwrite       yes     guest		        # overwrite permission?
overwrite       no      anonymous		# overwrite permission?
rename		yes	user			# rename permission?
rename		yes	guest			# rename permission?
rename		no	anonymous		# rename permission?
chmod           no      anonymous               # chmod permission?
umask           no      anonymous               # umask permission?

# specify the upload directory information
upload  /var/ftp  *             no
upload  /var/ftp  /incoming     yes     root    daemon  0600 dirs
upload  /var/ftp  /bin          no
upload  /var/ftp  /etc          no

# directory aliases...  [note, the ":" is not required]
alias   inc:    /incoming

# cdpath
cdpath  /incoming
cdpath  /pub
cdpath  /

# path-filter...
path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-
path-filter  guest      /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-

# specify which group of users will be treated as "guests".
guestgroup ftponly
guestgroup user

email [email-masked]