1832800 Members
2841 Online
110045 Solutions
New Discussion

ftp

 
Anjaneyulu
Frequent Advisor

ftp

Hi,

I want to know about FTP. I gave the username in ftpusers file. Iam able to connect the ftp.
But according to file the username unable to login ftp.
Why i got the ftp> prompt from that user.

Please give me the documents.
7 REPLIES 7
Ivan Krastev
Honored Contributor

Re: ftp

See this document - http://docs.hp.com/en/B2355-90685/ch02.html

regards,
ivan
Gokul Chandola
Trusted Contributor

Re: ftp

Hi,
Use the following links..

http://docs.hp.com/en/B2355-91058/ch02s04.html?jumpid=reg_R1002_USEN

http://docs.hp.com/en/B2355-91058/B2355-91058.pdf

Regards,
Gokul Chandola
There is always some scope for improvment.
Johnson Punniyalingam
Honored Contributor

Re: ftp

what is the shell for the username you addedd..?

grep /etc/passwd --> show the output

Example:-

abcuser:LLbHRD5VUDITg:123:108:abcuser ,,:/home/ibmadm1:/usr/bin/sh --> shell ..?

or /usr/bin/true.?

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Ganesan R
Honored Contributor

Re: ftp

Hi,

what is the path of "ftpusers" file? It should be /etc/ftpd/ftpusers.

Also note that each restricted account name must appear alone on a line in the file. The line cannot contain any white space.

One more thing, you will get ftp prompt even login fails. but you will perform any action on this prompt until you login.

man ftpusers will be a good doc.
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: ftp

Hi,

Typo error in my last post...

>>>One more thing, you will get ftp prompt even login fails. but you will perform any action on this prompt until you login<<<

Should be

One more thing, you will get ftp prompt even login fails. but you will not be perform any action on this prompt until you login.

My sincere apologize for that typo error...
Best wishes,

Ganesh.
Anjaneyulu
Frequent Advisor

Re: ftp

Hi ,
I gve the entry in /etc/ftpd/ftpusers file like this
root
daemon
bin
sys
adm
lp
uucp
nuucp
smmsp
listen
nobody
noaccess
nobody4
neeraja
# su - neeraja
$ ftp
ftp> ls
Not connected.
ftp> bye

After deleting the entry in /etc/ftpd/ftpusers file then also I got the same.
root
daemon
bin
sys
adm
lp
uucp
nuucp
smmsp
listen
nobody
noaccess
nobody4
# su - neeraja
$ ftp
ftp> ls
Not connected.
ftp> bye

what is the difference?
Ganesan R
Honored Contributor

Re: ftp

Hi,

You just got ftp prompt. It doesn't mean that you are get connected to any ftp server.

Let me explain..

You have added the neeraja user in /etc/ftpd/ftpusers file. So hereafter no one can use neeraja account to connect via ftp to the server on which you edited the file ftpusers.

Is that clear?
Best wishes,

Ganesh.