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.
|
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 |
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?
|
With the .message file, just set the correct permissions and the file cannot be overwritten or deleted by the user.
|
Quote:
As for user's seeing it: chmod 444 /path/to/.message Cool |
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?
|
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. |