[GH-ISSUE #4093] Linux上如何使用非root用户运行服务端? #3226

Closed
opened 2026-05-05 14:05:04 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @virgil710 on GitHub (Mar 21, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4093

Bug Description

现在可以支持以非特权用户或sudo的方式运行吗?比如指定nobody/nogroup运行。

frpc Version

0.55.1

frps Version

0.55.1

System Architecture

linux/amd64

Configurations

#bindPort = 7000
bindPort = 22888

# log
log.to = "/var/log/frp/frps.log"
log.level = "info"
log.maxDays = 30

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @virgil710 on GitHub (Mar 21, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4093 ### Bug Description 现在可以支持以非特权用户或sudo的方式运行吗?比如指定nobody/nogroup运行。 ### frpc Version 0.55.1 ### frps Version 0.55.1 ### System Architecture linux/amd64 ### Configurations ``` #bindPort = 7000 bindPort = 22888 # log log.to = "/var/log/frp/frps.log" log.level = "info" log.maxDays = 30 ``` ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [X] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [X] Others
Author
Owner

@xqzr commented on GitHub (Mar 21, 2024):

监听 1024 及以上的端口号

<!-- gh-comment-id:2013748201 --> @xqzr commented on GitHub (Mar 21, 2024): 监听 1024 及以上的端口号
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3226
No description provided.