更新 'cg_init_machine.sh'

This commit is contained in:
toby 2023-03-26 10:57:20 +08:00
parent 585ea5dc93
commit 48bbecbd86
1 changed files with 1 additions and 0 deletions

View File

@ -11,3 +11,4 @@ echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' | EDITOR='tee -a' visudo
mkdir -p /home/cg_maintain_user/.ssh
touch /home/cg_maintain_user/.ssh/authorized_keys
chown -R cg_maintain_user:cg_maintain_user /home/cg_maintain_user
chmod 600 /home/cg_maintain_user/.ssh/authorized_keys