更新 'cg_init_machine.sh'
This commit is contained in:
parent
585ea5dc93
commit
48bbecbd86
|
|
@ -11,3 +11,4 @@ echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' | EDITOR='tee -a' visudo
|
||||||
mkdir -p /home/cg_maintain_user/.ssh
|
mkdir -p /home/cg_maintain_user/.ssh
|
||||||
touch /home/cg_maintain_user/.ssh/authorized_keys
|
touch /home/cg_maintain_user/.ssh/authorized_keys
|
||||||
chown -R cg_maintain_user:cg_maintain_user /home/cg_maintain_user
|
chown -R cg_maintain_user:cg_maintain_user /home/cg_maintain_user
|
||||||
|
chmod 600 /home/cg_maintain_user/.ssh/authorized_keys
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue