Networking Forums

Networking Forums > Computer Networking > Linux Networking > proftpd DisplayFirstChdir problem

Reply
Thread Tools Display Modes

proftpd DisplayFirstChdir problem

 
 
Sam
Guest
Posts: n/a

 
      09-17-2004, 01:37 PM
I'm having problems with showing a message when a user changes
directory. Any ideas on how to tackle this problem

# This is a basic ProFTPD configuration file

#General Server Context
ServerName "FTP server"
ServerType standalone
DefaultServer on
Port 21
MaxInstances 5
User nobody
Group nobody
DefaultRoot ~
RootLogin off
UseReverseDNS off
IdentLookups off
AccessDenyMsg "Acces for %u has been denied"
AccessGrantMsg "Acces has been granted for %u."
DeferWelcome on
MultilineRFC2228 on
DenyFilter \*.*/

#Global server context
<Global>
Umask 022
MaxLoginAttempts 3
ServerIdent on "Welcome to ftp at JAQAR"
DefaultTransferMode binary
DisplayFirstChdir /usr/local/etc/welcome
</Global>

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
DenyAll
</Directory>

<Directory /home/testftp>
AllowAll
</Directory>

The welcome file looks like this:

you are currently connected as user: %U
You are connected from: %R
The current time is: %T
You are in directory: %C

This welcome file has the following permissions and is owned by root:

-rw-r--r-- 1 root root 169 Sep 17 15:19 welcome

regards, Sam
 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
who can fix a proftpd.conf problem volkman Linux Networking 5 04-30-2004 09:55 PM
ProFTPD:Mod_auth and AuthPAM problem Nico van der Dussen Linux Networking 0 11-27-2003 11:45 AM
Proftpd setup acey Linux Networking 3 11-21-2003 03:24 PM
proftpd configuration problem Jander Linux Networking 0 07-23-2003 04:21 PM
Re: Proftpd ServerIdent Kenneth A Kauffman Linux Networking 1 06-25-2003 06:17 PM



1 2 3 4 5 6 7 8 9 10 11