LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PROFTPD welcome messages (https://www.linuxquestions.org/questions/linux-software-2/proftpd-welcome-messages-55529/)

ScreeminChikin 04-17-2003 11:58 AM

PROFTPD welcome messages
 
Can anyone tell me exactly how to have welcome messages in proftpd? My understanding is that you can have one message that shows up before a user logs in and then another that shows up in each home folder, but I cant find any real info on how to make it happen.

MasterC 04-17-2003 12:05 PM

With .message within each of the directories for the custom message and welcome.msg in your /etc directory (which never worked for me ;) ).

They are plain text

Cool

ScreeminChikin 04-17-2003 12:13 PM

so basically I make a text file with my message text and then name it anything.message and drop it into each users home directory? then the pre login message has to be named welcome.msg and droped straight into the /etc directory? If thats correct then can I keep the file from being seen by the user so that it doesnt get changed or deleted?

notsoevil 04-17-2003 01:08 PM

With the .message file, just set the correct permissions and the file cannot be overwritten or deleted by the user.

MasterC 04-17-2003 01:26 PM

Quote:

Originally posted by ScreeminChikin
so basically I make a text file with my message text and then name it anything.message and drop it into each users home directory? then the pre login message has to be named welcome.msg and droped straight into the /etc directory? If thats correct then can I keep the file from being seen by the user so that it doesnt get changed or deleted?
I don't think it's anything.message but rather just .message

As for user's seeing it:
chmod 444 /path/to/.message

Cool

ScreeminChikin 04-17-2003 02:01 PM

I can't seem to get the messages to show up at all no matter how I name them. Do I have to do something special in my config file?

bulliver 04-17-2003 03:48 PM

Have a look at DisplayLogin directive. There is an index of all the directives at the proftpd website. There are also other directives which will display messages to users at different times and under different circumstances ie: when a user logs on, when a user authenticates, when a user is denied access and so on...


All times are GMT -5. The time now is 07:05 AM.