How to make Directory message working for vsftp

General support questions
Post Reply
mhasan1981
Posts: 3
Joined: 2017/11/07 02:26:39

How to make Directory message working for vsftp

Post by mhasan1981 » 2017/11/07 14:04:23

Hi,
I was trying to display a message for each FTP directory but failed as I am not sure about the location of the message. Where should I keep the "message" file?

I tried as below

dirmessage_enable=YES
message_file=.message

#cd /etc/vsftpd
#touch message
#vim message
" Hi be nice "
#chmod 777 message

I would be happy if anyone sends me an example config. Thanks

// MD HASAN

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to make Directory message working for vsftp

Post by TrevorH » 2017/11/07 14:06:51

Where should I keep the "message" file?
In the directory.
message_file=.message
...
#touch message
#vim message
message != .message

File names that start with a . are hidden from normal view. You didn't create one called .message.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mhasan1981
Posts: 3
Joined: 2017/11/07 02:26:39

Re: How to make Directory message working for vsftp

Post by mhasan1981 » 2017/11/07 23:26:43

Hi TrevorH,
Thanks a lot for your reply. I am a very beginner for centos and haven't made it works yet. Could please add a sample config here for me?

Thanks in advance.

mhasan1981
Posts: 3
Joined: 2017/11/07 02:26:39

Re: How to make Directory message working for vsftp

Post by mhasan1981 » 2017/11/08 00:54:49

Hi TrevorH,

Just have made it working. I didn't consider .message as a hidden file. Thanks again.

Post Reply