Skip to content

Commit

Permalink
security/tlsc: Add default user
Browse files Browse the repository at this point in the history
Set tlsc_user to 'nobody' by default, to avoid accidentally running it
as root.

Approved by:	tcberner (mentor, implicit)
  • Loading branch information
Zirias committed May 3, 2023
1 parent 3a9105a commit 8596786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/tlsc/Makefile
@@ -1,6 +1,7 @@
PORTNAME= tlsc
DISTVERSIONPREFIX= v
DISTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= security

MAINTAINER= zirias@FreeBSD.org
Expand Down
1 change: 1 addition & 0 deletions security/tlsc/files/tlsc.in
Expand Up @@ -15,6 +15,7 @@ rcvar=tlsc_enable
load_rc_config ${name}

: ${tlsc_enable:=NO}
: ${tlsc_user:=nobody}

start_precmd=tlsc_prestart
command="%%PREFIX%%/bin/tlsc"
Expand Down

0 comments on commit 8596786

Please sign in to comment.