1827476 Members
2050 Online
109965 Solutions
New Discussion

Re: ftp problem

 
Binu_5
Regular Advisor

ftp problem

Hi all

I have problem regarding the ftp in redhat linux9 .We have a nis setup here and the problem is as follows
I could ftp to linux system using a particular nis username username but not possible using another another username
Using the problamatic username it is getting connected but giving the following error
ame (wiplx03:binuv): shankar
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.

same user can login to HPux boxes
Please help
Binu


7 REPLIES 7
Bejoy C Alias
Respected Contributor

Re: ftp problem

Is the login name for which u r able to login to ftp is there in the linux machine also , or it is maped from NIS ?
Be Always Joy ......
Binu_5
Regular Advisor

Re: ftp problem

Hi Bejoy

It is mapped from NIS .We dont keep any local users

Thanks
Binu
Bejoy C Alias
Respected Contributor

Re: ftp problem

The login id from which u r able to do ftp is there in the linux machine ? r u able to do other type of logins to the linux machine with the same problematic user name ?
Be Always Joy ......
Binu_5
Regular Advisor

Re: ftp problem

Hi Bejoy

We dont have local users in our setup all are NIS users ...Iam trying
1)ftp from linux machine to linux machines
it works for some nis users but no for particular user
2)Ftp from linux machines to HPUX machine
it works for all users
3)Iam able to telnet from linux to linux using problamatic login

Thanks
Binu
Gopi Sekar
Honored Contributor

Re: ftp problem


check /etc/ftpusers file, it generally lists the users which are not allowed to access.

the file name is either /etc/ftpusers or /etc/ftpaccess

Hope this helps,
Gopi
Never Never Never Giveup
Bejoy C Alias
Respected Contributor

Re: ftp problem

Then this may be because of any restrictions in ur ftp server . If u r using vsftpd ( which is the default in RH9.0 ) then check the file /etc/vsftpd.ftpusers to see if the name shankar is there , the users in this list are not allowed to login through ftp ( I think the user shankar is a normal user ).
Also check the configuration file /etc/vsftpd/vsftpd.conf and /etc/vsftpd.user_list
Be Always Joy ......
Ivan Ferreira
Honored Contributor

Re: ftp problem

You can get login incorrect because a there problem with the shell configured for the user or the home directory permissions/exitence. Check the logfiles in /var to get more info.

The shell sould be listed in /etc/shells and the home directory should exist and have the correct permissions.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?