1832557 Members
5751 Online
110043 Solutions
New Discussion

ftp

 
SOLVED
Go to solution
P.V.Ramesh
Advisor

ftp

Hi

I am having a problem with ftp.
Only one user is not able to do this activity, the others are able to do this.

I have checked /etc/shells
it contains /bin/ksh
/bin/sh
/bin/csh

I have checked the files ftp-users, ftp-access. His login-id not there.

I have checked /var/adm/inetd.sec. any thing related to this not mentioned.
Only particular user is not able to do this activity. When
retried he get a message saying access denined.

Could anybody help me on this

11 REPLIES 11
harry d brown jr
Honored Contributor

Re: ftp


Is the user attempting to ftp FROM a server and having issues, or is he/she attempting to ftp TO the host with issues?

WHAT OS release??

What does /etc/ftpd/ftpaccess have in it??


live free or die
harry
Live Free or Die
Pete Randall
Outstanding Contributor

Re: ftp

Have a look at this thread, I think it could help you:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x96b70bce6f33d6118fff0090279cd0f9,00.html

Pete

Pete
P.V.Ramesh
Advisor

Re: ftp

Hi harry

Thanks for early reply.

The user is trying from his loacl Windows machine to hp server.

The hp server is having 11.00 version OS and in /etc/ftpd, i didn't find the mentioned file.
P.V.Ramesh
Advisor

Re: ftp

Hi Pete

I will do .
Pete Randall
Outstanding Contributor

Re: ftp

Perfect! Thanks.

Pete

Pete
P.V.Ramesh
Advisor

Re: ftp

did anybody have answer on this question.
harry d brown jr
Honored Contributor

Re: ftp


What is the EXACT error message the user receives when they get denied??

Have you tried it from your PC using their login and password???

What does /var/adm/syslog/syslog.log say??

what is the output of
grep -i ftp /etc/inetd.conf

what are the contents of /etc/ftpd/ftpusers?


live free or die
harry

Live Free or Die
Sean OB_1
Honored Contributor

Re: ftp

Please give us some more information.

What OS is the server running?
What version of FTPD?
What error if any does the user see when trying to connect to the server?

Do a find for ftpusers and see what is in that file if it exists.

Ditto for ftpaccess.


P.V.Ramesh
Advisor

Re: ftp

Hi Harry

The syslog file shows as follows

Aug 26 22:05:41 lisa ftpd[8275]: FTP LOGIN REFUSED (bad shell) FROM pookie-tst.com
vu.lucent.com [135.92.45.3], vvp
Aug 26 22:05:54 lisa ftpd[8275]: FTP session closed

It indicates bad shell.

Note i have included all /bin/sh,/bin/csh,/bin/ksh in a file called /etc/shells.

The output of grep command is
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
# Before uncommenting the "tftp" entry below, please make sure
# that you have a "tftp" user in /etc/passwd. If you don't
# have one, please consult the tftpd(1M) manual entry for
#tftp dgram udp wait root /usr/lbin/tftpd tftpd

The ftpusers is not having any information. Also i donot have ftpaccess file.

Hi sean

The OS version 11.00 running on HP-Server
Could you tell me how do i check ftpd version

User is unable to login. Permission is denied.

Thanks for the support. But i am anticipating some fruitfull solution.
Shannon Petry
Honored Contributor
Solution

Re: ftp

If the message says invalid shell then make sure the users shell from /etc/password exists in /etc/shells. Many times a users shell could be /usr/bin/csh. If only /bin/csh is in /etc/shells then ftp will fail. The match comes not from the link or binary location, but the entry excatly as it is in /etc/passwd.

Regards,
Shannon
Microsoft. When do you want a virus today?
P.V.Ramesh
Advisor

Re: ftp

Thanks shannon
I will assign 10 points to you