1833184 Members
2814 Online
110051 Solutions
New Discussion

Re: /etc/issue with ftp

 
SOLVED
Go to solution
Penni Nussbaum
Frequent Advisor

/etc/issue with ftp

my inetd.conf file contains the two lines below..

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -b /etc/issue
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue

The /etc/issue files is displayed before a telnet login. It is not displayed before a ftp login. why? after adding the two entires for /etc/issue, i did issue the command "inetd -c"
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: /etc/issue with ftp

Hi:

The '-b filename' option is valid for the telnet daemon but not for the ftp daemon. See the man pages for 'telnetd' (1M) and 'ftpd' (1M).

...JRF...
Rob Smith
Respected Contributor

Re: /etc/issue with ftp

I don't think that there is a -b "Banner Option," for ftpd. Hope this helps.

Rob

Learn the rules so you can break them properly.
Rita C Workman
Honored Contributor

Re: /etc/issue with ftp

On an 11. system-

If you want a banner to print on your ftp login you could:
1. In your inetd.conf file add a -a to the end of the ftp line. This tells it to go out and use info in your ftpaccess file and process. See manpage ftpaccess
2. Create the ftpaccess file (/etc/ftpd/ftpaccess) and include a line
banner /etc/ftp_motd
banner /etc/ftp_issue
Edit these files to say what you want for ftp users.

Now when you ftp in the ftpaccess file will be run and will print these banner pages before your ftp login.

Just a thought,
/rcw
James R. Ferguson
Acclaimed Contributor
Solution

Re: /etc/issue with ftp

Hi:

If you want a banner with ftp, configure the 'banner' option in /etc/ftpaccess. Take a look too, at the 'message' option. See 'man 4 ftpaccess'.

...JRF...
Worapoj P.
Regular Advisor

Re: /etc/issue with ftp

Dear all,

I followed as Workman(rcw)'s instuction banner message was shown but no any users can logon
to ftp server by ftp program ,before I modified /etc/inetd.conf by added -a to end of the ftp line
it has worked fine.

Please advise
Worapoj P.
For LOVE For Honor For Mankind