summaryrefslogtreecommitdiffstats
path: root/core/modules
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-02 22:15:27 +0100
committerSimon Rettberg2017-11-02 22:15:27 +0100
commit9bea9f3405d4cb47a74c61495e85ea56128d9bee (patch)
tree664237e53c82c891518a5eba6acff97222174704 /core/modules
parent[mgmt-sshd] New module for independent access to machine (diff)
downloadmltk-9bea9f3405d4cb47a74c61495e85ea56128d9bee.tar.gz
mltk-9bea9f3405d4cb47a74c61495e85ea56128d9bee.tar.xz
mltk-9bea9f3405d4cb47a74c61495e85ea56128d9bee.zip
[mgmt-sshd] Change pidfile
Diffstat (limited to 'core/modules')
-rw-r--r--core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config2
-rw-r--r--core/modules/sshd/module.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config b/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config
index 40f27414..b51a1109 100644
--- a/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config
+++ b/core/modules/mgmt-sshd/data/etc/ssh/mgmt/sshd_config
@@ -29,5 +29,5 @@ TCPKeepAlive yes
AcceptEnv LANG LC_*
UsePAM yes
UseDNS no
-PidFile /run/sshd_mgmt/pid
+PidFile /run/sshd_mgmt.pid
AllowUsers root
diff --git a/core/modules/sshd/module.build b/core/modules/sshd/module.build
index 3420084f..2bcac7ae 100644
--- a/core/modules/sshd/module.build
+++ b/core/modules/sshd/module.build
@@ -17,5 +17,5 @@ build() {
post_copy() {
mkdir -p "${TARGET_BUILD_DIR}/var/lib/empty" # suse
- chmod go-rwx "${TARGET_BUILD_DIR}/etc/ssh/"* # no space, " before *
+ chmod go-rwX "${TARGET_BUILD_DIR}/etc/ssh"
}