Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title '530 User XXX access denied' error when trying to ftp to a bash shell
Ref. No. QNX.000009432
Category(ies) Utilities
Issue When we ftp to a machine with a bash shell, we get a '530 User XXX access denied.' nessage,  When we switch back to ksh, everything works fine.  Is there some incompatability with ftp and bash?

Solution Make sure that the shell type being used is added to the /etc/shells file on the server.

The ftpd daemon authenticates users according to these rules:

1.The user must have a standard shell (i.e. one listed in /etc/shells).
2.The username must be in the password database /etc/passwd and must not have a null password.
The client must provide a password before any file operations may be performed.
3.The username must not appear in the file /etc/ftpusers, which contains a list of users who aren't allowed to use of ftp. One username is listed per line. If this file is missing, anyone on the local system may access ftp.
4.If the username is anonymous or ftp, an anonymous ftp account must be present in the password file (user ftp). In this case, the user can log in by giving any password (by convention, users give the name of the client host).

See also:
ftp, tftpd in the Document section