Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 28th September 2011, 14:10
random_sam random_sam is offline
Junior Member
Join Date: Sep 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default PureFTPd - Welcome Message - Fortune Files

Does anyone know how to edit or change the Welcome Message / Banner for Pureftpd?

The PureFTP Docs suggest the following:

Recompile PureFTPd with:

--with-welcomemsg: read 'welcome.msg' files for compatibility with some
other FTP servers. This is a security flaw (anonymous users may upload
'welcome.msg' files to add random banners) . Pure-ftpd uses '.banner' files
by default.


--with-cookie: display a fortune or a customized banner when a user logs
in (see the '-F' option)

Once cookie/fortune in enabled during compile you should then be able to specify a fortune file with:

- '-F <fortune file>': Display a fortune cookie on login. The sentence is
a random extract from the text file <fortune file>. This text file should be
formatted like standard "fortune" files (fortunes are separated by a '%'
sign on a single line) . Pure-FTPd has to be compiled with support for
cookies (--with-cookie). If you just want a simple banner displayed before
the login prompt, add the name of any text file here.

I am in Debian Squeeze does anyone know where I would specify -F <fortune file>?

Reply With Quote
Sponsored Links
Old 28th September 2011, 15:45
Mark_NL Mark_NL is offline
Senior Member
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts

You must create the file /etc/pure-ftpd/conf/FortunesFile and in it set the location of the fortunes file.

echo "/home/user/fortunes.txt" > /etc/pure-ftpd/conf/FortunesFile
/etc/init.d/pure-ftpd-mysql restart
Real men don't backup... Real men cry!

Reply With Quote
The Following User Says Thank You to Mark_NL For This Useful Post:
random_sam (28th September 2011)
Old 28th September 2011, 18:06
random_sam random_sam is offline
Junior Member
Join Date: Sep 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

Thanks Mark, you are a star.

I did exactly as you said and it worked first time.
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PureFTPD configuration files IKShadow Installation/Configuration 2 11th January 2011 20:00
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
Dspam + postfix : dspam didn't tag header messages NothingHere Server Operation 1 31st October 2008 17:57
ubuntu 8.04 server installation of ispconfig fails DocProc Installation/Configuration 27 5th June 2008 22:23
Can't start apache Musty Server Operation 12 9th March 2008 14:58

All times are GMT +2. The time now is 04:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.