The Tools user code is normally similar to the user code defined in the Доступ в систему field. However, it is possible to define more than one Tools user for only one system login.
When a user starts the bshell, by default the system starts with the Tools User code that is equal to the system login code. It is possible to start the bshell with a different Tools user code by setting the environment variable "USER".
Пример
System login | ERP LN user |
---|---|
dave | dave |
dave | dave_01 |
dave | dave_02 |
john | john |
john | john_01 |
If the user with the system login dave starts the bshell, by default he will be user dave in Tools. The user dave may fill the environment variable USER with dave_01 or dave_02, to start with another Tools User.
If the user with the system login dave sets the environment variable USER to john or john_01 and tries to start the bshell, he will get the message: Not authorized to run as user john. In the same way, Unix user john may only start the bshell with Tools User john or john_01 but not with dave, dave_01 or dave_02.