From b99c86137060e10a29963c61a196d378701bea25 Mon Sep 17 00:00:00 2001 From: toby Date: Wed, 28 Dec 2022 21:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'cg=5Finit=5Fmachine.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cg_init_machine.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cg_init_machine.sh b/cg_init_machine.sh index aa5aec3..2b349d0 100644 --- a/cg_init_machine.sh +++ b/cg_init_machine.sh @@ -1,4 +1,5 @@ #!/bin/bash +getent group wheel || groupadd wheel useradd cg_maintain_user groupmems -g wheel -a cg_maintain_user echo '%wheel ALL=(ALL:ALL) ALL' | EDITOR='tee -a' visudo