mkdir evenif not auto
This commit is contained in:
parent
e2f1982fee
commit
57a9c37667
|
|
@ -2,6 +2,6 @@
|
||||||
useradd cg_maintain_user
|
useradd cg_maintain_user
|
||||||
groupmems -g wheel -a cg_maintain_user
|
groupmems -g wheel -a cg_maintain_user
|
||||||
echo '%wheel ALL=(ALL:ALL) ALL' | EDITOR='tee -a' visudo
|
echo '%wheel ALL=(ALL:ALL) ALL' | EDITOR='tee -a' visudo
|
||||||
mkdir /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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue