ftp passwords

We have a minimal QNX implementation on a flash card as provided by our
hardware vendor for inclusion in an embedded system. The ftp accounts are
password protected. I can log into the console as root with no password but
when I attempt to ftp into the controller as root over ethernet I am asked
for a password. I tried all the obvious passwords like root, password, QNX,
etc., but nothing works. The user account ‘ftp’ has no password and ftpd
does let me log in with that account but then it immediatly kicks me off
with a “permission denied” error. Do I need to configure the ftp user
somehow before I can use it?

Also, the entries in /etc/group are password protected. Is there a way to
clear those passwords in this system?

Does anyone have any suggestions?

Thanks,

Bill
Cincinnati, OH USA

On Fri, 16 Jul 2004 07:48:51 -0400, Dirk Gently <phony@email.com> wrote:

We have a minimal QNX implementation on a flash card
What the version is it?

If it’s v4.25 then you should check /etc/ftpusers file - it lists the users that are DISALLOWED any ftp access.
Add or remove users there according to your needs.

To make any account password-less remove “x” in /etc/passwd like this:
(has password):
root:x:0:0::/home/root:/bin/sh

(without password):
root::0:0::/home/root:/bin/sh


Tony.

Hi Bill,

ftpd requires that users have a password to transfer files. If you want
to be able to ftp as root do the following from the console:

  • login as root
  • passwd root (then assign a new password, ie. ‘root’)
  • remove the ‘root’ entry in the /etc/ftpusers file

Hope this helps.

Regards,
Barry

“Dirk Gently” <phony@email.com> wrote in message
news:cd8cr9$q8g$1@inn.qnx.com

We have a minimal QNX implementation on a flash card as provided by our
hardware vendor for inclusion in an embedded system. The ftp accounts are
password protected. I can log into the console as root with no password
but
when I attempt to ftp into the controller as root over ethernet I am asked
for a password. I tried all the obvious passwords like root, password,
QNX,
etc., but nothing works. The user account ‘ftp’ has no password and ftpd
does let me log in with that account but then it immediatly kicks me off
with a “permission denied” error. Do I need to configure the ftp user
somehow before I can use it?

Also, the entries in /etc/group are password protected. Is there a way to
clear those passwords in this system?

Does anyone have any suggestions?

Thanks,

Bill
Cincinnati, OH USA