tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: chas <panda () peace ! com ! my>
To: tru64-unix-managers
Subject: SUMMARY : Wu-ftpd guest access not chroot'ing
Date: Wed, 08 Jul 1998 01:22:58 +0000	[thread overview]
Message-ID: <96078715811536.tru64-unix-managers.marc@archive.invalid> (raw)

The answer to my problem lay in my original post (appended below).
As Patrick Farley pointed out, it should be "guestgroup <groupname>" 
and not "guestgroups <groupname>" in /etc/ftpaccess.

Silly mistake .... I assumed that this part of the configuration 
was correct b/c the guest members could log in. Looks like they 
were logging in as real users with the usual access to the 
whole file system.

Thanks again Patrick,

Chas



>Date: Wed, 08 Jul 1998 04:02:43
>To: alpha-osf-managers@ornl.gov
>From: chas <panda@peace.com.my>
>Subject: Wu-ftpd guest access not chroot'ing
>
>I've installed Wu-ftp and it works fine for real
>users logging in but now trying to set it up for guest
>users and the chroot doesn't seem to be working.
>I've added the /./ to the home directory in /etc/passwd :
>
>fred:FUzFxpG7QiffF:100:100:Fred:/usr/www/./:/etc/ftponly
>
>The shell /etc/ftponly exist in /etc/shells.
>
>Am I missing something here on implementing chroot ?
>I've noticed a couple of questions in the archives where people
>seem to have had a similar problem but few summaries.
>
>Thank you very much in advance (if there's anyone not watching
>the match)
>
>chas
>
>I don't think the following would affect the ability to chroot
>but just for the record :
>
>Wu-ftp is run with the -a flag to allow guest access. In inetd.conf :
>ftp     stream  tcp     nowait  root    /usr/local/etc/ftpd     ftpd -a
>
>I've also copied /sbin/ls to /usr/www/bin/ls 
>and the passwd/group files to /usr/www/etc
>
>The guest user 'fred' can log into the FTP server
>and finds himself in the home directory. But he can
>still cd to any part of the file system.
>
>I've also added "guestgroups ftpusers" to the /etc/ftpaccess 
>file where the guest ftp user 'fred' is a member of the group 
>'ftpusers' but I don't think that would affect the ability to
>chroot. 
>
>
>

                 reply	other threads:[~1998-07-08  1:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox