03-27-2002
If you are using WU-ftpd 2.6.2, then find your default directory (I believe it should be /etc/ftpd). You should vi ftpaccess and look for this line.
banner /etc/ftpd/msg.banner
Vi that file and put what you want in it. Also look for "greeting" in ftpaccess - it can be set to different levels.
See the man page on ftpaccess at
www.wu-ftpd.org
As far as SUN, you should edit /etc/default/ftpd. Check the man page on ftpd for syntax.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I need to put a telnet banner on AIX 4.3 and 5.1 servers, so the users can see a warning message before logging into the system. I know /etc/motd will give the message after the login. Basically what I am asking is how do I tell system to read the /etc/issue file on AIX?.
Thank you, in advance... (4 Replies)
Discussion started by: smohd
4 Replies
2. UNIX for Dummies Questions & Answers
how to add a (sb) short banner in printcap
i need print a extraline
my OS unix 5.0.5
:(
Tnx (2 Replies)
Discussion started by: RoMaGo
2 Replies
3. UNIX for Dummies Questions & Answers
Hey all,
I want to use the banner/echo command to write messages on different console windows.
I knew that before, but I completely forget how to do it ! I just remenber that /dev/pts/# is the number of the window. and it's useful.
It would be great if someone knows how to solve my... (4 Replies)
Discussion started by: maxwell17
4 Replies
4. UNIX for Dummies Questions & Answers
How can I display a message to the crt whenever someone logs on? They do not see a unix prompt. I need to easily update this also. (2 Replies)
Discussion started by: Beetlejuice
2 Replies
5. Linux
is there a similiar function to the solaris banner function in linux? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
6. Linux
Hi,
I have added in banner in both /etc/banner and /etc/issue.net one by one in Linux but the banner is not displaying while user type username and enter
I have restarted the ssh service also
Any idea why? (3 Replies)
Discussion started by: manoj.solaris
3 Replies
7. UNIX for Dummies Questions & Answers
can I use Banner command in Linux, if not, what is the similar command in linux then... (7 Replies)
Discussion started by: vasikaran
7 Replies
8. Shell Programming and Scripting
Iam a MCA student having some doubts about
1) different disk related commands
2) Banner command
3) Different file related commands
4) set eb (where it is used) (1 Reply)
Discussion started by: gururajbhat
1 Replies
9. UNIX for Dummies Questions & Answers
is there a way to reduce the size of the banner?
banner -w ?
TIA (8 Replies)
Discussion started by: budz26
8 Replies
10. AIX
Hi Admins,
As part of security, i need to modify ftp login message.
I followd below steps to accomplish the same.
1.Created a message file test.msg with line number 9
9 This machine belongs to private.Unauthorised access are not allowed and will be prosecuted.
2. gencat ftpd.cat... (0 Replies)
Discussion started by: newaix
0 Replies
LEARN ABOUT X11R4
ftprestart
ftprestart(1M) System Administration Commands ftprestart(1M)
NAME
ftprestart - restart previously shutdown FTP Servers
SYNOPSIS
ftprestart [-V]
DESCRIPTION
Use the ftprestart command to restart an FTP Server previously shut down by means of ftpshut(1M). The ftprestart command reads the shutdown
capability from the ftpaccess(4) file to determine the path of the shutdown message files. It then reenables the FTP Server by removing any
shutdown message files in the anonymous and virtual FTP Server area, as well as the system wide shutdown message file.
OPTIONS
The ftprestart command supports the following options:
-V Display program copyright and version information, then terminate.
EXAMPLES
Example 1: Sample Output from ftprestart
The following example shows sample output from the ftprestart command:
example% ftprestart
ftprestart: /export/home/ftp/etc/ftpd/shutdown.msg removed.
ftprestart: /export/home/virtual1/etc/ftpd/shutdown.msg removed.
ftprestart: /etc/ftpd/shutdown.msg removed.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/etc/ftpd/ftpaccess
/etc/ftpd/ftpservers
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
ftpshut(1M), in.ftpd(1M), ftpaccess(4), ftpservers(4), attributes(5)
SunOS 5.10 1 May 2003 ftprestart(1M)