LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2003, 12:58 PM   #1
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Rep: Reputation: 30
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.
 
Old 04-17-2003, 01:05 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 04-17-2003, 01:13 PM   #3
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
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?
 
Old 04-17-2003, 02:08 PM   #4
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
With the .message file, just set the correct permissions and the file cannot be overwritten or deleted by the user.
 
Old 04-17-2003, 02:26 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 04-17-2003, 03:01 PM   #6
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
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?
 
Old 04-17-2003, 04:48 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does messages suppressed in /var/log/messages mean saavik Linux - Networking 2 05-07-2008 03:31 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 07:39 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 11:27 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 11:08 AM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 04:35 AM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration