The multi-user login allows you to create different profiles for
different users or groups of users. The profiles define the access
rights on the Telnet server. The users which are allowed to access
the Telnet server are in the user database. The multi-user login
allows you to selectively disable commands for unprivileged
users.
If you want to use multi-user authentication, you must Enable User Authentication in the
Net_Config.c configuration file.
The account defined in the Net_Config.c configuration file is a
system administrator account, which has no restrictions. It
can not be disabled once the authentication has been enabled in the
system configuration. All other accounts are created in a separate
Telnet_MultiUser.c module. This file is located in
\Keil\ARM\RL\TCPnet\User folder and need to be copied to the
project folder, customized by the developer and added to the
project.
The following functions are included in this module:
tnet_check_account() -
checks if the user account exists for the provided
credentials.
The following system functions are included in the RL-TCPnet
library:
tnet_get_user_id() -
retrieves the user identification number for the user, which is
trying to access the file or folder.
Note
If the Tnet_MultiUser.c is not added to the project, and
the Authentication is enabled, the Telnet server runs in single
user authentication mode.
In RLARM v5.00 and newer, you can disable a system
administrator account, if you define the Authentication Username an empty
string.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.