[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhel6-branch] Add the .sshd.hmac file to initrd (#592186)



The sshd binary is in initrd and appears in the /sbin
directory when installer is running.
That's why we also need the .sshd.hmac file in initrd
because otherwise fipscheck won't find it.
---
 scripts/mk-images |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 2ae76b7..233c133 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -496,6 +496,7 @@ EOF
     instbin $IMGPATH /sbin/nologin $MBD_DIR /sbin/nologin
     instbin $IMGPATH /bin/login $MBD_DIR /sbin/login
     instbin $IMGPATH /usr/sbin/sshd $MBD_DIR /sbin/sshd
+    cp -a $IMGPATH/usr/sbin/.sshd.hmac $MBD_DIR/sbin/
     instbin $IMGPATH /usr/bin/ssh-keygen $MBD_DIR /sbin/ssh-keygen
 }
 
-- 
1.6.6.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]