summaryrefslogtreecommitdiff
path: root/contrib/redhat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/redhat')
-rw-r--r--contrib/redhat/openssh.spec2
-rwxr-xr-xcontrib/redhat/sshd.init12
2 files changed, 7 insertions, 7 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index cbdf7bbc7..08515d2b0 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -1,4 +1,4 @@
1%define ver 4.3p2 1%define ver 4.6p1
2%define rel 1 2%define rel 1
3 3
4# OpenSSH privilege separation requires a user & group ID 4# OpenSSH privilege separation requires a user & group ID
diff --git a/contrib/redhat/sshd.init b/contrib/redhat/sshd.init
index ffa66cd52..e5d837cbc 100755
--- a/contrib/redhat/sshd.init
+++ b/contrib/redhat/sshd.init
@@ -35,8 +35,8 @@ do_rsa1_keygen() {
35 if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then 35 if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
36 chmod 600 $RSA1_KEY 36 chmod 600 $RSA1_KEY
37 chmod 644 $RSA1_KEY.pub 37 chmod 644 $RSA1_KEY.pub
38 if type restorecon >/dev/null 2>&1; then 38 if [ -x /sbin/restorecon ]; then
39 restorecon $RSA1_KEY.pub 39 /sbin/restorecon $RSA1_KEY.pub
40 fi 40 fi
41 success $"RSA1 key generation" 41 success $"RSA1 key generation"
42 echo 42 echo
@@ -54,8 +54,8 @@ do_rsa_keygen() {
54 if $KEYGEN -q -t rsa -f $RSA_KEY -C '' -N '' >&/dev/null; then 54 if $KEYGEN -q -t rsa -f $RSA_KEY -C '' -N '' >&/dev/null; then
55 chmod 600 $RSA_KEY 55 chmod 600 $RSA_KEY
56 chmod 644 $RSA_KEY.pub 56 chmod 644 $RSA_KEY.pub
57 if type restorecon >/dev/null 2>&1; then 57 if [ -x /sbin/restorecon ]; then
58 restorecon $RSA_KEY.pub 58 /sbin/restorecon $RSA_KEY.pub
59 fi 59 fi
60 success $"RSA key generation" 60 success $"RSA key generation"
61 echo 61 echo
@@ -73,8 +73,8 @@ do_dsa_keygen() {
73 if $KEYGEN -q -t dsa -f $DSA_KEY -C '' -N '' >&/dev/null; then 73 if $KEYGEN -q -t dsa -f $DSA_KEY -C '' -N '' >&/dev/null; then
74 chmod 600 $DSA_KEY 74 chmod 600 $DSA_KEY
75 chmod 644 $DSA_KEY.pub 75 chmod 644 $DSA_KEY.pub
76 if type restorecon >/dev/null 2>&1; then 76 if [ -x /sbin/restorecon ]; then
77 restorecon $DSA_KEY.pub 77 /sbin/restorecon $DSA_KEY.pub
78 fi 78 fi
79 success $"DSA key generation" 79 success $"DSA key generation"
80 echo 80 echo