1833924 Members
3243 Online
110063 Solutions
New Discussion

Re: ftp question

 
SOLVED
Go to solution
Ashwin_4
Frequent Advisor

ftp question

Hi,
I have user without password in unix , i'm able to login as that user but when doing ftp it is asking for a password.
Logging incorrect error during ftp.
pl help

3 REPLIES 3
Jannik
Honored Contributor

Re: ftp question

make sure Ur user is not in ftpusers under etc. Take a look at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=148447
jaton
Mark Grant
Honored Contributor
Solution

Re: ftp question

From the "ftpd" man page.

"The user name must be in the password data base, /etc/passwd,and not have a null password"

Sorry about this.
Never preceed any demonstration with anything more predictive than "watch this"
Jannik
Honored Contributor

Re: ftp question

tanks mark you are right! The thing U what is to use ftp with nologin for use i scripts. I would recomment to use scp (sercure copy) with a key or some expect script with hardcoded password (not a nice sollution).
jaton