]> andersk Git - gssapi-openssh.git/blobdiff - setup/setup-openssh.pl
o Initialize privilege separation setting at the beginning of the script
[gssapi-openssh.git] / setup / setup-openssh.pl
index e14a4f9716e15f8fee093bdadbc1b9343a691315..3555985f2da6723bb06267356eeef279cb6e641d 100644 (file)
@@ -105,6 +105,12 @@ GetOptions(
             'verbose' => \$verbose,
           ) or pod2usage(2);
 
+#
+# miscellaneous initialization functions
+#
+
+setPrivilegeSeparation(0);
+
 #
 # main execution.  This should find its way into a subroutine at some future
 # point.
@@ -318,9 +324,9 @@ sub copyPRNGFile
     my($mode, $uid, $gid);
     my($data);
 
-    if ( isPresent("/dev/random") && !isForced() )
+    if ( isPresent("$sysconfdir/ssh_prng_cmds") && !isForced() )
     {
-        printf("/dev/random found and not forced.  Not installing ssh_prng_cmds...\n");
+        printf("ssh_prng_cmds found and not forced.  Not installing ssh_prng_cmds...\n");
         return;
     }
 
This page took 0.035853 seconds and 4 git commands to generate.