FTP Error Code 530

Hi,

I’m new to QNX and when I tried to access the FTP Server from a Win2K machine, I got the following error msg:

C:>ftp 192.168.1.112
Connected to 192.168.1.112.
220 192.168.1.112 FTP server ready.
User (192.168.1.112:(none)): roger
331 Password required for roger.
Password:
530 User roger may not use FTP.
Login failed.

I’ve created a user account for myself and I’ve uncommented the “ftp” in “inet.conf” file. Any suggestions?

Have you got a valid login shell? FTP will likely refuse access if you do not. You might also want to check /etc/ftpusers users which are disallowed access are in there.If you’ve changed your login shell, make sure it 's the full path to the executable, i.e. /usr/bin/bash, rather than just ‘bash’.

Cheers

Garry

As Garry said, you need to make sure the user’s shell is listed in the /etc/shells file.

Thanks Garry. It’s working perfectly now. All I had to do is to add the /usr/bin/bash under etc/shells. Don’t know why QNX doesn’t have Bash Shell.

Roger :laughing:

The bash package could update /etc/shells when it is installed. And I have contemplated adding that…