1820733 Members
3201 Online
109627 Solutions
New Discussion юеВ

Re: ftpaccess

 
SOLVED
Go to solution
himacs
Super Advisor

ftpaccess

hi

please tell me the exact steps to follow to enable ftp banner

and also tell me ftpaccess path

regards
himacs

14 REPLIES 14
James R. Ferguson
Acclaimed Contributor

Re: ftpaccess

Hi:

The manpages would tell you:

# man ftpaccess

(or):

http://docs.hp.com/en/B2355-60130/ftpaccess.4.html

Regards!

...JRF...
Suraj K Sankari
Honored Contributor

Re: ftpaccess

Ganesan R
Honored Contributor

Re: ftpaccess

Hi Himacs,

>>>please tell me the exact steps to follow to enable ftp banner <<<

you need to add banner entry in /etc/ftpd/ftpaccess file like below.

banner

There is another option you can use, which is message like below.

message login

ftpd will display the contents of the message file to the user at login time. Banner works similarly to the message command, except that the banner is displayed before the user enters the username and password.

>>>and also tell me ftpaccess path<<<<

/etc/ftpd/ftpaccess


Best wishes,

Ganesh.
himacs
Super Advisor

Re: ftpaccess

hi sirs,

thanx for ur reply.

actualy i did below steps.

banner /etc/issue

/etc/inetd.conf-added -a in ftp line at the last

inetd -c

but when i give ftp 10.10.10.89

its asking for user name..

plz help on this..

regards
himacs

Sajjad Sahir
Honored Contributor

Re: ftpaccess


Dear Friend

It will ask username.u can use
secure shell for logins and scp for transfers.

thanks and regards

Sajjad Sahir
Ganesan R
Honored Contributor

Re: ftpaccess

Hi Himacs,

>>>but when i give ftp 10.10.10.89

its asking for user name..<<<

Yep. it is expected behaviour.

What do you expect at this point?
Best wishes,

Ganesh.
himacs
Super Advisor

Re: ftpaccess



but i heard that the banner will display before asking username..

As this is live server i cant troubleshoot more

#one more thing.. is there any command to reread ssh process.I dont want to restart since its production server
Ganesan R
Honored Contributor

Re: ftpaccess

Hi Himacs,

Yes. banner will displayed before the username like this..

#ftp server
Connected to server
<<>
Name:
Passwd:
<>
ftp>

Also note that change in ftpaccess file doesn't require to re-read the inetd daemon.

And also ftp service does not have any relation with ssh.
Best wishes,

Ganesh.
himacs
Super Advisor

Re: ftpaccess

hi Admins,

my server is B.11.23

banner not displaying befor and after ftp logging.any other file ineed to be modified.


i asked sshd reread for different issue.

please advise how i can reread sshd service

regards
himacs
OldSchool
Honored Contributor

Re: ftpaccess

"but when i give ftp 10.10.10.89 ...."

not to sound trite, but 10.10.10.89 is the server you made the ftpaccess changes on, correct?
himacs
Super Advisor

Re: ftpaccess


Hi admins,

My issue still pending.Let me explain again what steps i followed.

I want to set ftp banner
i edited ftpaccess file with banner=/etc/issue
but when i ftping other server it ask for username without displaying banner.

I want the /etc/issue banner to be displayed before asking username.

please help on this.Bit urgent..

regards
himacs
himacs
Super Advisor

Re: ftpaccess

please suggest if any additional steps.

whether we need to restart ftp..


himacs
OldSchool
Honored Contributor
Solution

Re: ftpaccess

> please help on this.Bit urgent..

can't be....you went 2 days before looking again.


> whether we need to restart ftp..

once the changes you made in inetd.conf are made in the correct place, you should only need to "inetd -c"

> hi sirs,
> thanx for ur reply.
> actualy i did below steps.

> banner /etc/issue

> /etc/inetd.conf: added -a in ftp line at the last

> inetd -c

> but when i give ftp 10.10.10.89
> its asking for user name..
> plz help on this..
> regards

----and----

> I want to set ftp banner
> i edited ftpaccess file with banner=/etc/issue
> but when i ftping other server it ask for username without displaying banner.

=======================================================================================

ok...one last try here. assuming the "other server" is the 10.10.10.89 mentioned in the examples above, then you edited /etc/ftpd/ftpaccess on that "other server" correct? If not, thats where the change needs to be made...on the "other server"

> i edited ftpaccess file with banner=/etc/issue
>

....uh...no...isn't it supposed to be:

banner /etc/issue

"as noted previously by Ganesan R". go back and look at the man page for ftpaccess, it will tell you which is correct.

the changes in inetd.conf need to be made on the "other server" as well. the "inetd -c" should be all that's needed once the above is done.

there is no indication that you did anything but change the local machine. the changes noted need to be made on the server you are using ftp to connect to......


himacs
Super Advisor

Re: ftpaccess


Hi Oldschool,

Thnx for the reply..full points

it worked once..now again not working..

let me check the man pages..


regards
himacs