Told to us by Wesley W. Owen ([EMAIL PROTECTED])
on Sun, Apr 05, 1998 at 05:21:55PM -0400

> What file do I need to edit so when some FTP's to my system they get a
> welcome message other than...
> 
> 220 my.server FTP server (Version wu-2.4.2-academ[BETA-15](1) Sat Nov 1
> 03:08:32 EST 1997)

You can add a banner message that will add text to the before the prompt
you are seeing above, but I don't think you can turn off that one 
line from printing.  The problem with a banner before is that it
can screw up some ftp clients that get confused by all the extra text.

You would add:

        banner /etc/ftpbanner.msg

to your /etc/ftpaccess file.  The path used is according to your systems
root account, NOT the ftp root account.

> And, I was wondering if it is possible to make it so when a user logs in,
> they see their home directory as the system root.  Ex.
> 
> /home/wes would look like / when I log in via ftp.  Is this possible?

To do that they need to be chroot.  The only way I know of doing that
is to put the user in a guestgroup and set them up in a ftp tree (I call
it rftp to distigush it from our normal ftp anon area).

Then when they log in, they are in ./username.  If properly setup, they can
go up one directory but not be able to do anything there.

Look at man ftpaccess for more information.

-- 
==========================================================================
Kevin W. Reed (KWR10)                TNET Service - Disability Systems and
E-Mail: [EMAIL PROTECTED]                                Software Development
WEB: http://www.tnet.com        MAJORDOMO - MAILBOT Administration Account


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to