Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Promise 378 controller
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Deny directory listing on vsftpd anonymous upload

Deny directory listing on vsftpd anonymous upload

2007-07-24       - By Nigel Wade

 Back
Reply:     1     2     3     4     5  

Nikkil? Tommi wrote:
> If you mean the dirlist_enable option that is a definite no-no, since
> it prohibits the directory listing from everybody and I need the
> other users to be able to see the contents of their respective
> directories. Also the deny_file and hide_file options are out unless
> they could somehow be tweaked to rule out [directory]/* and only to
> be effective on the anonymous user. I guess a anon_hide_file option
> would be a needed addition...

You can specify per-user settings with vsftpd. In the config file you
can define a directory to hold the per-user config files
(user_config_dir). In that directory you create a file for each user
who's configuration needs to differ from the default. You only need to
put the non-default settings in to the file.

Create a file in your user_config_dir called ftp (ftp is the anonymous
user) with the line:
dirlist_enable=no

That should give a "550 Permission denied" message if the anonymous user
attempts a directory listing.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
            University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@(protected)
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list