Permissions on email client certs
This commit is contained in:
parent
667cfdd3f8
commit
7bcc5f414c
|
@ -133,7 +133,7 @@ mv /etc/ssl/private/$USERNAME.key /home/$USERNAME/emailcert
|
|||
mv /etc/ssl/certs/$USERNAME.crt /home/$USERNAME/emailcert
|
||||
|
||||
# set permissions for the user
|
||||
chmod -R 600 /home/$USERNAME/emailcert
|
||||
chmod -R 755 /home/$USERNAME/emailcert
|
||||
chown -R $USERNAME:$USERNAME /home/$USERNAME/emailcert
|
||||
|
||||
shred -zu /etc/ssl/requests/$USERNAME.csr
|
||||
|
|
Loading…
Reference in New Issue