LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-16-2016, 07:19 AM   #1
dushyantg
Member
 
Registered: Jun 2016
Posts: 70

Rep: Reputation: Disabled
Removing PureFTP banner


Hi

I want to remove PureFTP banner from server. I have tried to find in /etc/pure-ftp but its not there, I have tried to search it using .message, .msg, and .banner extensions but it won't show me any result .

any other way to find that file or make change in banner file?

Thanks
 
Old 11-16-2016, 07:51 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dushyantg View Post
Hi
I want to remove PureFTP banner from server. I have tried to find in /etc/pure-ftp but its not there, I have tried to search it using .message, .msg, and .banner extensions but it won't show me any result .

any other way to find that file or make change in banner file?
Where did you search??? From the PureFTPD documentation:
Code:
    ------------------------ DISPLAYING BANNERS ------------------------
    

If a '.banner' file is located in the 'ftp' user home directory (or in the
root directory of a virtual server, see below), it will be printed when the
client logs in. Put a nice ASCII-art logo with your name in that file.

This file shouldn't be larger than 4000 bytes, or it won't be displayed.

In each directory, you may also have a '.message' file. Its content will be
printed when a client enters the directory. Such a file can contain important
information ("Don't download version 1.7, it's broken!") .
Did you look in the ftp user(s) home directories? https://download.pureftpd.org/pub/pure-ftpd/doc/README

This can also be in a 'fortunes' file as well.
 
Old 11-16-2016, 12:29 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
I want to remove PureFTP banner from server. I have tried to find in /etc/pure-ftp but its not there, I have tried to search it using .message, .msg, and .banner extensions but it won't show me any result .

any other way to find that file or make change in banner file?
Are you talking about the default pure-ftpd banner, or a custom one?
In the latter case, you should check the config file (if you're using one), or the pure-ftpd options for the -F option (something like: -F/path/to/banner). And of course you can create a banner file containing what you like your users to see when connecting to ftp.

If you want to get rid of the default banner, then you should either recompile puref-tpd without the "--with-cookie" option, or use a txt file containing just a blank space.
 
Old 11-17-2016, 12:42 AM   #4
dushyantg
Member
 
Registered: Jun 2016
Posts: 70

Original Poster
Rep: Reputation: Disabled
I have looked into user's ftp directory, root directory, pure-ftpd configuration directory even tried to find it with "find" too
 
Old 11-17-2016, 12:43 AM   #5
dushyantg
Member
 
Registered: Jun 2016
Posts: 70

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
Are you talking about the default pure-ftpd banner, or a custom one?
In the latter case, you should check the config file (if you're using one), or the pure-ftpd options for the -F option (something like: -F/path/to/banner). And of course you can create a banner file containing what you like your users to see when connecting to ftp.

If you want to get rid of the default banner, then you should either recompile puref-tpd without the "--with-cookie" option, or use a txt file containing just a blank space.
yes I want to remove the default one.
 
Old 11-17-2016, 02:02 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by dushyantg View Post
yes I want to remove the default one.
I told you what you can do in my previous post!
I guess you don't want to recompile pure-ftpd, so you need to create a txt file containing just a blank space (e.g. /blank-banner.txt) and use the -F option when starting pure-ftpd (-F/blank-banner.txt)
 
1 members found this post helpful.
  


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
PureFTP D with authd problem snalwade Linux - Software 1 04-03-2010 01:36 PM
Pureftp Golf Linux - Software 1 04-09-2006 07:41 PM
pureftp config mattsoftnet Linux - Software 1 02-20-2006 08:20 AM
Pureftp - cannot see files? paidhitman Linux - Newbie 1 07-30-2004 06:05 PM
Pureftp+FXP behind a router EchoVibes Linux - Networking 0 08-29-2003 08:35 PM

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

All times are GMT -5. The time now is 09:38 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
Open Source Consulting | Domain Registration