LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-13-2011, 12:29 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
where is the welcome message located for proftpd [SOLVED]


Hours of google searching turned up nothing i keep getting different files and after testing them i get no result. I need some help in locating which file displays the message that comes up after logging into proftpd. the one that says this

Code:
Remote system type is UNIX.
Using binary mode to transfer files.
how do i change the message to say something else
 
Old 10-13-2011, 12:36 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Either you didn't use definitive search terms or you're looking for something else. I searched with "change proftpd welcome message" and the first link that popped up was this one. But if I'm not mistaking the message you post is not the welcome message but a message from the server after logging in and when preparing to transfer files. I don't know if you can even change that particular message without compiling from source (that is, after changing what needs to be changed in the code).

Kind regards,

Eric
 
1 members found this post helpful.
Old 10-13-2011, 12:48 AM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
well i saw that link and there was nothing in there and was what i was looking for, and if your saying that there is no way of changing the welcome message (or whatever you would call it) then where is the welcome message (or do i have to make one) because i see nothing when logging into ftp from command line
 
Old 10-13-2011, 12:58 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

The link I provided is what can be used to set/change the welcome message and the steps are explained in detail. But, as I stated in my previous post, the message you quoted is not the welcome message in my opinion. If you login to an ftp server that has a welcome message set you'll get something like:
Code:
Connected to ftp1.domain.com.
220 ProFTPD 1.2.8 Server (ftp1.domain.com) [XXX.XXX.XXX.XXX]
If you don't get that then there's no welcome message set. Follow the steps in the link I provided and you'll get a welcome message. The message you posted refers to the remote system type and the type of transfer that has been set as default and is not the welcome message in my opinion.

Kind regards,

Eric
 
1 members found this post helpful.
Old 10-13-2011, 01:45 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I agree with EricTRA that the message shown in the first post isn't the welcome message.

I see the following when logging into my proftp server:
Code:
$ ftp stasis
Connected to stasis.wildfire.nl.
220 10.0.100.11 FTP server ready
Name (stasis:druuna): 
331 Password required for druuna.
Password:
230  -= Welcome to stasis =-
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
If you want/need something like the bold part, that can be set by the AccessGrantMsg and AccessDenyMsg options in your proftpd.conf.

Hope this helps.
 
1 members found this post helpful.
Old 10-14-2011, 10:15 PM   #6
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
where is the AccessGrantMsg at, i tried running the locate and whereis commands and it returned nothing, proftpd is installed but the melcome messages can't be located
 
Old 10-15-2011, 02:37 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by baronobeefdip View Post
where is the AccessGrantMsg at, i tried running the locate and whereis commands and it returned nothing, proftpd is installed but the melcome messages can't be located
Both options aren't commands, but part of the proftpd configuration. Have a look at /etc/proftpd.conf. Edit (or add) these options and restart proftpd (/etc/init.d/proftpd restar).

- Proftpd - AccessGrantMsg
- Proftpd - AccessDenyMsg

I noticed you are using Debian: Also have a look here: /home/ftp/welcome.msg

Hope this helps.
 
1 members found this post helpful.
Old 10-15-2011, 10:17 PM   #8
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
it worked on all of the machines we applied this too, not only debian but ubuntu, solaris and fedora
 
Old 10-16-2011, 02:57 AM   #9
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

If this means that the solution druuna offered you a solution then please mark your thread as solved.

Kind regards,

Eric
 
  


Reply



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
mutt: Couldn't lock /sent - Could not send the message [solved] frenchn00b Linux - General 1 07-07-2017 03:24 AM
Change welcome message for Proftpd bgriesi Linux - Networking 2 07-14-2014 04:14 AM
SOLVED: tar error message: Cannot open: No such file or directory qajaq Linux - Newbie 2 11-22-2009 11:25 AM
Strange proftpd message jepper Linux - Networking 0 05-21-2005 06:05 AM
ProFTPd authentication failure message Donboy Linux - General 4 10-15-2003 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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
Open Source Consulting | Domain Registration