rustdesk / rustdesk/rustdesk-server

Servers run as "root" on Ubuntu.

Open
#530 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
10.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The servers hbbs and hbbr run as the root user rather than as a non-privileged user.

Describe the environment
Debian package installed on Ubuntu 20.04.

How to Reproduce the bug
Steps to reproduce the behavior:

  1. Install the package.
  2. The server process hbbs and hbbr now run as the root user.

Expected behavior
The server process don't need any special privileges, so they should run as a non-privileged user.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Debian package and service definitions used when hbbs and hbbr are installed on Ubuntu 20.04. Verify how each server process selects its user, then confirm after installation that both run as a non-privileged user without requiring special privileges.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devops, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.