Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VxWorks 5.3.1 FTP Server

1,327 views
Skip to first unread message

Engineering group (1)

unread,
Sep 23, 1997, 3:00:00 AM9/23/97
to

We have code running under VxWorks 5.3 (x86) and I have just rebuilt
evrything for version 5.3.1. All is OK apart from the fact that the FTP
server will not let me log in. The documentation states that there is no
username or password checking but the error I get from the FTP client on the
host indicates that my password is invalid. Any ideas?

Dere Cheshire


ber...@technolution.nl

unread,
Sep 23, 1997, 3:00:00 AM9/23/97
to

We also ran into this problem today and found a fix.

You have to (manually) add a #define INCLUDE_SECURITY in configAll.h.

Setting this option in Tornado doesn't work because it will put
it in configdb.h which is included too late to be effective...

After the above change you can log in via FTP with the
default user/password pair described in the VxWorks Programming
Guide 5.3.1 section 9.2.6

Good luck!

-- Bert Jan Bakker

Julian Day

unread,
Sep 24, 1997, 3:00:00 AM9/24/97
to


-----Original Message-----
Subject: VxWorks 5.3.1 FTP Server
From: "Engineering group (1)" <mwr...@cct.co.uk>
Date: 1997/09/23
Message-Id: <875005830.12726.0...@news.demon.co.uk>
Newsgroups: comp.os.vxworks

We have code running under VxWorks 5.3 (x86) and I have just rebuilt
evrything for version 5.3.1. All is OK apart from the fact that the FTP
server will not let me log in. The documentation states that there is no
username or password checking but the error I get from the FTP client on the
host indicates that my password is invalid. Any ideas?

[Julian Day]

FROM SPR 8602:

The reason is that Tornado 1.0.1 (VxWorks 5.3.1) is deliverd with an
ftpdLib.o compiled with INCLUDE_SECURITY enabled. Therefore the ftp deamon
always asks for a valid username and password.


RESOLUTION:

1. In target/config/all/configAll.h

Place the following defines in the 'Included Software Facilities':

#define INCLUDE_SYM_TBL (or INCLUDE_CONFIGURATION_5_2)
#define INCLUDE_SECURITY

You can see the default user name ("target") and password ("password")
under

#define LOGIN_USER_NAME ...
#define LOGIN_PASSWORD ...

2. The option INCLUDE_CONFIGURATION_5_2 will give a target shell, plus
target-based tools, whereas INCLUDE_SYM_TBL simply includes the symbol
table facilities.

If you use the INCLUDE_SYM_TBL option, then you will need to make an
additional change. In the file target/config/all/usrConfig.c, there is
the following block of code:

/* initialize interactive shell */

#ifdef INCLUDE_SHELL
#ifdef INCLUDE_SECURITY /* include shell security */
if ((sysFlags & SYSFLG_NO_SECURITY) == 0)
{
loginInit (); /* initialize login table */
shellLoginInstall (loginPrompt, NULL); /* install security program */

/* add additional users here as required */

loginUserAdd (LOGIN_USER_NAME, LOGIN_PASSWORD);
}
#endif /* INCLUDE_SECURITY */
...

You need to copy the code bracketed by INCLUDE_SECURITY to a position
outside the INCLUDE_SHELL brackets.


SPR / PATCH: 8602

KEYWORDS: FTPD, FTP, SECURITY, PASSWORD


0 new messages