Source-Changes archive

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

Re: CVS commit: basesrc/crypto/dist/ssh



>Module Name:   basesrc
>Committed By:  cjs
>Date:          Fri Aug 31 09:00:29 UTC 2001
>
>Modified Files:
>       basesrc/crypto/dist/ssh: sshd.8
>
>Log Message:
>Document that PermitRootLogin's default is now "no".

        if you want this to be in sync with the code, I guess you need this
        as well.  not sure if what is the right behavior here.  please test.
        (change in default config file is not the right way to set the default
        behavior, IMHO)

itojun


Index: servconf.c
===================================================================
RCS file: /cvsroot/basesrc/crypto/dist/ssh/servconf.c,v
retrieving revision 1.10
diff -u -r1.10 servconf.c
--- servconf.c  2001/06/23 19:37:40     1.10
+++ servconf.c  2001/08/31 12:24:57
@@ -140,7 +140,7 @@
        if (options->key_regeneration_time == -1)
                options->key_regeneration_time = 3600;
        if (options->permit_root_login == PERMIT_NOT_SET)
-               options->permit_root_login = PERMIT_YES;
+               options->permit_root_login = PERMIT_NO;
        if (options->ignore_rhosts == -1)
                options->ignore_rhosts = 1;
        if (options->ignore_root_rhosts == -1)



Home | Main Index | Thread Index | Old Index