FTP Problem QNX 4.25

Hi. I have a problem for the FTP to work, I’m beginning learning about QNX. I have uncomment root in /etc/ftpusers and I still get
'530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using Binary mode to transfert files.
ftp> ’
I did verify etc/hosts, etc/resolv.conf, etc/netstart, and etc/ftpusers,
Do you have an idea ? I need to solve that problem quick as I finish a thesis,
thanks,
aladiah

Is “inetd” running? (just type “inetd” from command line of it isn’t and all will run nicely!)
Where are you connecting from/to?

inetd must be running, otherwise he wouldn’t get that 530 error.

aladiah, does ftp work for other non-root user? does root use a non standard shell? is it defined in /etc/shells ?

Thanks very much for the quick answers! here are the results :
I did type inetd on my target machine, I have the answer ‘#’, I don’t have any /etc/shells , the ftp doesn’t work for other non-root user also and my host machine is my computer with Win 2000 and my target is a PC104 main stack with QNX 4.25 installed,
Any idea ?
thanks,
aladiah

If it doesn’t work for any user, it’s probably the “security patch” to blame.

Please post “sin ver” output, and “ls -l /etc/pass*”

I bet you have installed the qcrypt security patch but you are still running the old tcpip (ftpd) which doesn’t understand the new passwd format.

ok I try that

here is the result :

sin ver

PROGRAM NAME VERSION DATE
sys/Proc32 Proc 4.25J Sep 09 1999
sys/Proc32 Slib16 4.23G Oct 04 1996
sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24V Feb 18 2000
/bin/Fsys Floppy 4.24B Aug 19 1997
/bin/Fsys.eide eide 4.25A Feb 09 2000
//1/bin/Dev32 Dev32 4.23G Oct 04 1996
//1/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996
//1/bin/Dev32.ser Dev32.ser 4.23I Jun 27 1997
//1/bin/Dev32.par Dev.par 4.26 Feb 24 2000
//1/bin/Dev32.pty Dev32.pty 4.23G Oct 04 1996
//1/bin/Pipe Pipe 4.23A Feb 26 1996
//1/bin/Mqueue mqueue 4.24A Aug 30 1999
//1/bin/Net Net 4.25C Aug 30 1999
//1/bin/Net.ether82557 Net.ether825 4.25G Feb 17 2000
//1/*/usr/ucb/Socket Socket 4.23C Oct 07 1996

After if I type “ls -l /etc/pass*” , here is what I have :

ls -l /etc/pass*

-rw-r–r-- 1 root root 156 Jan 01 00:03 /etc/passwd
-rw-r–r-- 1 root root 121 Jan 01 00:04 /etc/passwd.bak
-rw-r–r-- 1 root root 40 Jul 25 2003 /etc/passwd.qcrypt

For me it is like chinese ?!?!

the file /etc/passwd.qcypt indicates that you have installed the QNX 4 qcrypt security patch. So basically, the passwd format has changed and that’s why ftp won’t let you in. You will need to upgrade your tcpip, which, hopefully, will “understand” the new passwd:

qnx.com/download/swgroup.html?programid=8042

thanks it works. I have another questions… :blush: I’m installing QNX 4.25 on another PC104 for my work and It detected a disk with 977 cylinders instead of 1987, how do I force him to take the number of heads, cylinders and sectors I know it’s right?
thanks for your help,
aladiah

The question about HD is answer in another post.