更新 'cg_init_machine.sh'

This commit is contained in:
toby 2022-12-28 21:24:19 +08:00
parent 57a9c37667
commit b99c861370
1 changed files with 1 additions and 0 deletions

View File

@ -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