From 7cd0e71a68460fb0e54b2563bcad475f5049da58 Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 24 Nov 2024 21:49:43 +0300 Subject: ssh permissions --- rice.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rice.sh') 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 -- cgit v1.2.3