[Lunar-commits] <moonbase-core> openssh: Track /var/empty
Peter de Ridder
peter at lunar-linux.org
Sun Sep 15 17:20:43 CEST 2013
commit 284da9d0218aa1c294977aa8cd919e1264c73a44
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 15 Sep 2013 08:06:20 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/284da9d0218aa1c294977aa8cd919e1264c73a44
openssh: Track /var/empty
---
crypto/openssh/BUILD | +5/-6
1 file changed, 5 insertions(+), 6 deletions(-)
--- a/crypto/openssh/BUILD
+++ b/crypto/openssh/BUILD
@@ -3,12 +3,6 @@
# don't allow root login by default
sedit 's/#PermitRootLogin yes/PermitRootLogin no/' sshd_config &&
- if ! [ -d /var/empty ]; then
- mkdir -p /var/empty
- chown root:sys /var/empty
- chmod 755 /var/empty
- fi &&
-
add_priv_user sshd:sshd &&
# if echo $OPTS | grep -q -- "--with-kerberos5="; then
@@ -24,6 +18,11 @@
install -m644 $SCRIPT_DIRECTORY/Makefile /etc/ssh/Makefile
fi &&
+ # create /var/empty
+ mkdir -p /var/empty &&
+ chown root:sys /var/empty &&
+ chmod 755 /var/empty &&
+
# install ssh-copy-id script and man page
install -Dm755 {contrib,/usr/bin}/ssh-copy-id &&
install -Dm644 {contrib,/usr/share/man/man1}/ssh-copy-id.1
More information about the Lunar-commits
mailing list