Skip to content

Run the Management Console service as a different user

By default, the Management Console service runs under the Local System account on Windows and rslconsole user on Linux. You can configure it to run under the current user or a different account.

Windows

To run the Management Console service as a different user on Windows:

  1. Grant Full control permissions to the user account on the storage folder and the installation folder.
  2. Open the Services management console (services.msc).
  3. Locate and right-click the Resilio Management Console service, then select Stop.
  4. Right-click the Resilio Management Console service again and select Properties.
  5. In the Log On tab, select This account and enter the credentials of the user account you want the service to run under, then click OK.
  6. Click Start to start the service with the new user account.

Linux

Run the Management Console service as the current user

To run the Management Console service as the current user:

  1. Check the service's status, and if it's running, stop it:

    sudo systemctl stop resilio-connect-management-console
    
  2. Start the service as the current user:

    sudo systemctl --user start resilio-connect-management-console
    

Run the Management Console service as a different user

To run the Management Console service as a different user on Linux distributions with the systemd service manager, proceed as follows:

  1. (Optional) Create a user and group to run the Resilio Management Console service:

    $ sudo groupadd -r resilioConsoleService  
    $ sudo useradd -g resilioConsoleService -r -m -s /sbin/nologin resilioConsoleService
    
  2. Stop the Resilio Management Console service:

    sudo systemctl stop resilio-connect-management-console
    
  3. Navigate to /etc/systemd/system/resilio-connect-management-console.service.d (create the directory if it doesn't exist), and create the override.conf file.

  4. Edit the override.conf file and add the following:

    [Service]  
    User=resilioConsoleService
    Group=resilioConsoleService
    
  5. Reload the unit files:

    sudo systemctl daemon-reload
    
  6. Change the ownership of the storage folder to the user and group you specified in the override.conf file:

    sudo chown -R resilioConsoleService:resilioConsoleService /var/opt/resilio-connect-management-console
    
  7. Start the Management Console service:

    sudo systemctl start resilio-connect-management-console