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?
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
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?