[Lunar-commits] r16092 - moonbase/trunk/crypto/openssh

Auke Kok sofar at lunar-linux.org
Sat Aug 13 15:50:10 UTC 2005


Author: sofar
Date: 2005-08-13 15:50:09 +0000 (Sat, 13 Aug 2005)
New Revision: 16092

Modified:
   moonbase/trunk/crypto/openssh/BUILD
Log:
Defaulting rootlogin permission to NO.


Modified: moonbase/trunk/crypto/openssh/BUILD
===================================================================
--- moonbase/trunk/crypto/openssh/BUILD	2005-08-13 14:48:33 UTC (rev 16091)
+++ moonbase/trunk/crypto/openssh/BUILD	2005-08-13 15:50:09 UTC (rev 16092)
@@ -1,5 +1,8 @@
 (
 
+  # 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



More information about the Lunar-commits mailing list