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

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

 



Ack.

On 05/31/2010 09:54 AM, Martin Gracik wrote:
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
  }


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux