aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-24 21:49:43 +0300
committerawy <awy@awy.one>2024-11-24 21:49:43 +0300
commit7cd0e71a68460fb0e54b2563bcad475f5049da58 (patch)
tree65658e1d1d41cd4bd63e6416b20d903e276b7729
parent1d2e1b4a0abd24798df0f870836d43a82f066aa1 (diff)
ssh permissions
-rwxr-xr-xrice.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/rice.sh b/rice.sh
index 24dddfb..20e3ddb 100755
--- a/rice.sh
+++ b/rice.sh
@@ -65,6 +65,8 @@ EOL
doas -u $PERMUSER find /home/$PERMUSER/.gnupg -type f -exec chmod 600 {} \;
doas -u $PERMUSER find /home/$PERMUSER/.gnupg -type d -exec chmod 700 {} \;
+doas -u $PERMUSER find /home/$PERMUSER/.ssh -type f -exec chmod 600 {} \;
+doas -u $PERMUSER find /home/$PERMUSER/.ssh -type d -exec chmod 700 {} \;
chsh -s /bin/zsh $PERMUSER