mkdir evenif not auto

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

View File

@ -2,6 +2,6 @@
useradd cg_maintain_user
groupmems -g wheel -a cg_maintain_user
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
chown -R cg_maintain_user:cg_maintain_user /home/cg_maintain_user