1837584 Members
2904 Online
110117 Solutions
New Discussion

Re: ftp problems

 
Mike_21
Frequent Advisor

ftp problems

Problem:
User x is trying to ftp to server 123 from 456.
When this user ftp's to server 123 from 456 the following appears:
Password required for y.
Remember this user is logged in as x not y.
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: ftp problems

Does this user 'x' have a .netrc file set up in their home directory that says to log into server 456 with username 'y'?

The .netrc would look something like:

# cat .netrc
machine server456 login usery password usery_password

That would be the only thing I can think of.
Francois Bariselle_3
Regular Advisor

Re: ftp problems

check your .rhosts file on both machine!

Frank
Fais la ...
John Carr_2
Honored Contributor

Re: ftp problems

Hi

if you have .rhosts files on each machine you could usr rcp instead of ftp.

John

Sachin Patel
Honored Contributor

Re: ftp problems

Hi Mike,
If user x will logon to that system from anohter system via telnet then this will not happen.

For example from system1
system1{sachin}% rlogin system2
Please wait...checking for disk quotas
sachin logged in on Tue Apr 2 13:16:33 CST 2002

system2{sachin}% su -
Password:

Then I login as root.
system2#
If I do ftp now
system2# ftp system1
Connected to system1.vdgc.com.
220 system1 FTP server (Version 1.7.212.2 Tue Apr 21 12:14:46 GMT 1998) ready.
Name (system1:sachin):
331 Password required for sachin.
Password:

But if I telnet to that system stright as root then it will ask password for root.

Sachin Patel
Is photography a hobby or another way to spend $