From fdf935779266fc74042ffbd0d4d93644b849e983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Tue, 13 Dec 2022 19:40:52 +0100 Subject: [PATCH] Fix mode of shellpki script in README file when installing it --- CHANGELOG.md | 2 ++ README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47c52d1..e1bb93c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +* Fix mode of shellpki script in README file when installing it + ### Removed ### Security diff --git a/README.md b/README.md index 9773668..ef34fbc 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ be copied to [ansible-roles/openvpn](https://gitea.evolix.org/evolix/ansible-rol useradd shellpki --system -M --home-dir /etc/shellpki --shell /usr/sbin/nologin mkdir /etc/shellpki install -m 0640 openssl.cnf /etc/shellpki/ -install -m 0755 shellpki /usr/local/sbin/shellpki +install -m 0750 shellpki /usr/local/sbin/shellpki chown -R shellpki: /etc/shellpki ~~~ @@ -31,7 +31,7 @@ chown -R shellpki: /etc/shellpki useradd -r 1..1000 -d /etc/shellpki -s /sbin/nologin _shellpki mkdir /etc/shellpki install -m 0640 openssl.cnf /etc/shellpki/ -install -m 0755 shellpki /usr/local/sbin/shellpki +install -m 0750 shellpki /usr/local/sbin/shellpki chown -R _shellpki:_shellpki /etc/shellpki ~~~