LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-03-2004, 12:14 PM   #1
notolerance
LQ Newbie
 
Registered: Jan 2004
Posts: 23

Rep: Reputation: 15
proftpd questions on configuration


Couple of questions with proftpd.

The server runs fine, I just want to add some info on startup for each user that loged on to the system. With the configuration below; if I log in with a none jailed user (one that can see the whole structure of the system), the welcome message works. But, when I use a jailed (to a directory other then there home) the user I gets nothing. Also I don't wan to display where the server is running from when logged on (220 tolerance.tilt.org FTP server ready),how do I change this?

Also, I was told it was possible to run the welcome.msg as a script that will, for example, display a ftpwho command or other option used in proftpd.


Login Posted:

220 tolerance.tilt.org FTP server ready
331 Password required for admin.
230 User test logged in.

Proftpd.conf:

ServerName notolerance
ServerType inetd
Port 21
Umask 002
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
UseReverseDNS off

<Global>
DisplayLogin welcome.msg
DisplayFirstChdir
DisplayQuit
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
IdentLookups off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth
AllowRetrieveRestart on
DeferWelcome on
DeleteAbortedStores off
ShowSymlinks off
RootLogin off
MaxLoginAttempts 3
RequireValidShell on
UseFtpUsers off
AllowStoreRestart on
ServerIdent off
DefaultRoot ~
DirFakeGroup on
DirFakeUser on
AuthAliasOnly off

</Global>
TimesGMT off
AllowForeignAddress on
DefaultServer on
MaxClients 5
MaxClientsPerHost 2
AllowOverwrite on
ServerAdmin notolerance
WtmpLog on

welcome.msg:
-------Welcome To NoToLeRaNcE Ftp Server
-------Today is %T
-------User Ident is %u
 
  


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
proftpd configuration Permaximus Linux - Networking 7 12-14-2004 02:52 AM
proftpd configuration lok1 Linux - Software 1 12-04-2003 11:41 PM
Proftpd configuration help exalik Linux - Security 1 09-06-2003 03:27 PM
proftpd configuration sqn Slackware 2 04-14-2003 04:44 PM
proFTPD configuration help please ScreeminChikin Linux - Networking 1 01-04-2003 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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