From fe201969a843debe7dd8479b417b0488e7c8562d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 6 Jun 2023 15:23:31 +0200 Subject: [PATCH] add user --- conf/shellinabox | 4 ++-- manifest.toml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/shellinabox b/conf/shellinabox index c5d47db..b6fa136 100644 --- a/conf/shellinabox +++ b/conf/shellinabox @@ -7,8 +7,8 @@ SHELLINABOX_PORT=__PORT__ # Parameters that are managed by the system and usually should not need # changing: # SHELLINABOX_DATADIR=/var/lib/shellinabox -# SHELLINABOX_USER=shellinabox -# SHELLINABOX_GROUP=shellinabox +SHELLINABOX_USER=shellinabox +SHELLINABOX_GROUP=shellinabox # Any optional arguments (e.g. extra service definitions). Make sure # that that argument is quoted. diff --git a/manifest.toml b/manifest.toml index d554d9e..4f6d112 100644 --- a/manifest.toml +++ b/manifest.toml @@ -39,6 +39,8 @@ ram.runtime = "50M" [resources.ports] main.default = 4200 + [resources.system_user] + [resources.permissions] main.url = "/" main.allowed = "admins"