mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-03 11:40:58 -05:00
adduser --gecos is universal not --comment
This commit is contained in:
parent
c7106eb215
commit
82e6d3ec27
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue