Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

openssh: Track /var/empty

  • Loading branch information...
commit 284da9d0218aa1c294977aa8cd919e1264c73a44 1 parent e3e0116
@cavalier38 cavalier38 authored
Showing with 5 additions and 6 deletions.
  1. +5 −6 crypto/openssh/BUILD
View
11 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

0 comments on commit 284da9d

Please sign in to comment.
Something went wrong with that request. Please try again.