From 82e6d3ec27bd7f2d35b8b7d5dd473d55aa398715 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 19 Dec 2023 18:06:45 +0100 Subject: [PATCH] adduser --gecos is universal not --comment --- forgejo-binary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgejo-binary.sh b/forgejo-binary.sh index e667c48..8bb6059 100755 --- a/forgejo-binary.sh +++ b/forgejo-binary.sh @@ -20,7 +20,7 @@ function ensure_user() { local user=$1 dependencies - adduser --quiet --comment $user --disabled-password $user + adduser --quiet --gecos $user --disabled-password $user adduser $user sudo adduser $user docker sed -i -e 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers