Topic: DMD0259

Help File Version: 2.9.4.37

Password Configuration


The Password configuration is more than simply allowing or denying access to a Do-more CPU based on a user ID and password, it involves the creation of accounts that will allow or deny access to the different resources available in the controller. By creating multiple accounts, each with different levels of access, you can efficiently control not only who has access to the CPU, but also what each of those users can and cannot do with to the resources in the CPU.

 

The default password configuration in a Do-more CPU contains a single user account - Default User - that has no password, and has access to all of the CPU's resources. This configuration does not restrict any communication attempt, and does not limit what anyone connected to the CPU can do with the CPU's resources.

 

The Status Bar at the bottom of the Do-more Designer programming window will display the user account that is currently logged in.

 

 

The Link Info dialog (PLC -> Link Setup) shows currently logged in User Account and Privileges in it's Session Information group.

 

 

Event Log messages will contain the user account in each log entry.

 

 


Default User Account

 

All Do-more CPUs ship from the factory with a predefined Default User account. The default password for this account is blank, and it cannot be changed. The Default User initially has all of the available privileges, and the account's privileges can be modified only after adding the Administrator account and logging in as the Administrator.

 

Click Add to open the Add User dialog to create new password configuration accounts.

 

Click Edit to edit the currently highlighted user account.

 

Click Delete to remove the currently highlighted user account.

 


Click Accept to save any changes have been made to the password configuration.

 

Click Read PLC to read the current password configuration from the CPU.

 

Click Cancel to abort the password configuration session without saving any changes that were made.

 


Creating the Administrator Account

 

The first user account that can be created is the Administrator account.

 

Clicking the Add button the first time will cause the password configuration utility to prompt for a password for the Administrator account, and to choose the optional privileges for the Administrator account.

 

Note: The Read Project (RP), Read Data (RD, and Change Password (PW) privileges are required for the Administrator, and cannot be removed from the Administrator account. The Password Configuration utility will make sure there is always at least one User account that has sufficient privilege to manage the Password Configuration.

 

Once the Administrator account has been created, the Default User account will automatically be changed to have only the Read Data (RD) and Write Data (WD) privileges. At this point the privileges for Default User account can be changed.

 

 

Note: The Administrator account can only be deleted if it is the only user account defined. If the Administrator account is ever deleted the Default User account will be automatically recreated with it's default privileges and a blank password.

 


Creating New User Accounts

Once the Administrator account has been created, up to 15 additional user accounts can be created. Click the Add button to open the following dialog:

 

 

User Names must be 1 to 16 characters in length.

 

Password / Password Confirmed must be 4 to 8 characters in length with no embedded white-space characters. Passwords must be unique. Passwords are also case sensitive. Passwords cannot be left blank.

 

Account Privileges are assigned to each new User Name. The default privileges for a New User will allow this account access to all of the programming resources in the CPU.

User Accounts must have a minimum of Read Data (RD) and Read Project (RP) to allow an online session with the Do-more Designer programming software.

 

User Accounts must have a minimum of Read Data (RD) to allow an online session with another Do-more CPU using a Do-more Network Read (RX) instruction.

 

User Accounts must have a minimum of Write Data (WD) to allow an online session with another Do-more CPU using a Do-more Network Write (WX) instruction.

 


The following is a list of the available privileges and details what each privilege allows the user of that account to access:

User accounts with the Read Data (RD) privilege can read from all of the data locations in the CPU.
 

User accounts with the Write Data (WD) privilege can update all of the data locations in the CPU.
 

User accounts with the Read Project (RP)privilege can read the ladder program, the system configuration, and the documentation from the CPU.
 

User accounts with the Write Project (WP) privilege can update the ladder program, the system configuration, and the documentation in the CPU.
 

User accounts with the Change System Settings (SS) privilege can set the system clock, clear the system log, and clear the user log.
 

User accounts with the Change PLC Mode (PM)privilege can change the CPU mode (PROGRAM, RUN), and invoke the runtime debugging features (Single ScanThe controller will make one pass through all of the enabled code-blocks, reading and writing I/O and executing the ladder logic that would normally be processed on that scan, then stop with the controller in Pause mode., N-ScanThe controller will make the number of specified passes through all of the enabled code-blocks, reading and writing I/O and executing the ladder logic that would normally be processed on those scans, then stop with the controller still in Pause mode., etc.).
 

User accounts with the Change Password (PW)privilege can create new users and modify existing user accounts (change passwords, add privileges, and remove privileges). User accounts that do not have Change Password (PW) privilege cannot open the Password Configuration dialog.
 

User accounts with the Update Firmware (FW)privilege can update the firmware in the CPU.

 

User accounts with the Access File System (FS) privilege can use the Browse PLC File Systems utility in Do-more Designer to read and write to the RAM and SDCard file systems in the CPU.

 

User accounts with the HTTP Server privilege can access the BRX CPUs on-board Web Server and user the BRX CPU's built-in REST API to read PLC from the CPU's memory location.

 


Logging in with a User Account

 

Any time Do-more Designer requests an online session with the CPU that has multiple user accounts, the programmer will be asked to log in by entering the password for one of the user accounts before the online session will be started.

 

The PLC-> Re-open Session... menu selection allows the programmer to change User Accounts without having to close and re-open the project. This menu selection will prompt the programmer for the password of the User Account to start using. After a successful re-login, the Status Bar at the bottom of the Do-more Designer programming window will display the new user account name.

 


What are Failed Login Attempts?

As part of the overall System Security suite, the Do-more PLC tracks the number of failed attempts to login using any of the User Account passwords in an effort to help prevent attempts at hacking the PLC password. Any time there are 8 consecutive failed attempts at entering the password, the Do-more CPU will lock out the ability to login over any of the communication ports for the next 30 seconds.

 

 

During this lockout time, the Enter Password dialog will display the text Locked Out!, and the system bit $LoginLockedOut (ST150) will be ON. Entering the correct password during the lockout period will NOT allow an online session with Do-more Designer or allow communication sessions from remote PLCs using RX - Do-more Network Read or WX - Do-more Network Write instructions. The lockout time must expire before a successful online session can be made from any client.

 

After the 30 seconds of Lockout time has expired the system bit $LoginLockedOut will turn automatically OFF and it will take 8 more failed attempts before another lockout will occur.

 

A running total of the failed login attempts is stored in the retentive System location $FailedLoginCnt (DST386). The value in this location does NOT define the number failed login attempts before login sessions are locked out, that number is fixed at 8. Below is an example of how this might be used in the project is to save the Date and Time that a Lockout occurred.

 

 


Clearing the Password Configuration

Clearing the password configuration can be accomplished in the following three ways:

 

  1. Use the Password Configuration dialog to delete the User Accounts individually. Remember that the Administrator account can only be deleted if it is the only user account defined. If the Administrator account is ever deleted the Default User account will be reset to it's factory configuration with it's default privileges and a blank password.

     

  2. Perform a Clear PLC Memory utility with the selection for Password Configuration checked, this will remove all of the user-assigned password configuration and if necessary, the Default User account will be restored to it's factory configuration with it's default privileges and a blank password.

     

  3. Perform a manual reset of the Do-more CPU using the information found in the help topic How to Manually Reset the Password Configuration in a Do-more controller. This too will remove all of the user-assigned password configuration and if necessary, recreate the Default User account will be reset to it's factory configuration with it's default privileges and a blank password.

 


See Also:

System Security Overview

 

User Password Configuration

 

How to Manually Reset the Password Configuration in a Do-more CPU

 

How to Manually Reset the Password Configuration in the Do-more Simulator