thumb_up
thumb_down
link
Copy link
Copied
insert_emoticon
lmatfy
Copied
Add and authorise a command line user

In every environment that you want to access from the command line, you specify one command line user.

The authentication method selected in Profit determines how you set up the command line:

  • Windows authentication

    If you do not specify a user, Profit uses the Windows user who is logged on and his password when running the command line. This user must be added to the user group with local administrator rights as a Windows account on the application server and in the domain. This Windows user must, however, be present in Profit and must be set up as a command line user.

    However, in Profit you can also add a separate user for the command line, with a password. For this you can also use the virtual user PROFITCOM, if you set a strong password for it in Profit. You must also add this user as a Windows user.

  • Application authentication

    Add a command line user to Profit. Include user and password in every command line. For this you can also use the virtual user PROFITCOM, if you set a strong password for it in Profit.

You cannot enter the COM+ user - specified during the installation of Profit - as the command line user.

To add a command line user:

  1. Start Profit.
  2. Log in to the environment.
  3. Go to: General / Management / Authorisation tool.
  4. Go to: User / New system user.

    App_Conn GS Lokaal gebruiker toevoegen en autoriseren - menu

  5. Enter the user name in the User field.
  6. Enter the description.
  7. Enter the password.

    The connector user must always have a strong password, even if you are not using this functionality.

  8. Click on: Next.
  9. Determine which actions the user is allowed to perform:
  10. Select the Command line and Backup copies from command line check boxes.
    • Select the Backup copies from command line check box if the user should be able to perform the BACKUP action. However, there is also an alternative method. Please refer to User guidelines for the BACKUP action.
    • Only select the Command line check box if the command line user performs actions other than BACKUP.

    The rights are separated, because the user has all the (confidential) information in Profit at his disposal when creating a backup. Access rights to the Backup copies from command line option should therefore be limited. The other command line options generally perform an action in the environment itself and whether the results of these are visible to the user depends on the authorisation in Profit.

  11. Click on: Finish

Directly to

  1. General configuration of the command line
  2. Add and authorise a command line user
  3. General options
  4. Create a batch file with a command line for the Command Line Utility
  5. Configure scheduled tasks

Process

Command line

Work area

app