ftp banner


 
Thread Tools Search this Thread
Operating Systems AIX ftp banner
# 1  
Old 12-01-2011
ftp banner

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.
Code:
gencat ftpd.cat test.msg

3.
Code:
Refresh inetd- refresh -s inetd

But still mgetting same old message.

What i am missing here.


Regards
newaix
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need help with banner.

is there a way to reduce the size of the banner? banner -w ? TIA (8 Replies)
Discussion started by: budz26
8 Replies

2. Shell Programming and Scripting

regarding banner command

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

3. UNIX for Dummies Questions & Answers

banner command

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

4. Linux

login banner

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

5. Linux

banner command

is there a similiar function to the solaris banner function in linux? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

6. UNIX for Dummies Questions & Answers

Banner

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

7. UNIX for Dummies Questions & Answers

Banner command

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

8. UNIX for Dummies Questions & Answers

short banner

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

9. UNIX for Advanced & Expert Users

Telnet Banner

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

10. UNIX for Dummies Questions & Answers

banner with ftp

Does anyone know how to put a banner (like /etc/issue) for ftp, both wu-ftp and the Sun ftp that ships with Solaris 8? Thanks (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question
netrc(4)							   File Formats 							  netrc(4)

NAME
netrc - file for ftp remote login data DESCRIPTION
The .netrc file contains data for logging in to a remote host over the network for file transfers by ftp(1). This file resides in the user's home directory on the machine initiating the file transfer. Its permissions should be set to disallow read access by group and oth- ers (see chmod(1)). The following tokens are recognized; they may be separated by SPACE, TAB, or NEWLINE characters: machine name Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are processed, stopping when the EOF is reached or another machine token is encountered. default Same as machine name, except that default matches any name. There can be only one default token, and it must be after all machine tokens. The default token is normally used as follows: default login anonymous password user@site Such an entry gives the user automatic anonymous ftp login to machines not specified in .netrc. login name Identify a user on the remote machine. If this token is present, the auto-login process will initiate a login using the specified name. password string Supply a password. If this token is present, the auto-login process will supply the specified string if the remote server requires a password as part of the login process. Note: if this token is present in the .netrc file, ftp will abort the auto-login process if the .netrc is readable by anyone besides the user. account string Supply an additional account password. If this token is present, the auto-login process supplies the specified string if the remote server requires an additional account password. If the remote server does not require an additional account password, the auto-login process will initiate an ACCT command. macdef name Define a macro. This token functions the same as ftp macdef. A macro is defined with the specified name; its contents begin with the next .netrc line and continue until a null line (consecutive NEWLINE characters) is encountered. If a macro named init is defined, it is automatically executed as the last step in the auto-login process. EXAMPLES
Example 1: A Sample .netrc File A .netrc file containing the following line: machine ray login demo password mypassword allows an autologin to the machine ray using the login name demo with password mypassword. FILES
~/.netrc SEE ALSO
chmod(1), ftp(1), in.ftpd(1M) SunOS 5.10 3 Jul 1990 netrc(4)