Re: attack 2

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

 



On 5/13/05, wj <wayne@xxxxxxxxxxxxxx> wrote:
> On Wed, 2005-05-11 at 09:26 -0700, bruce wrote:
> > you don't want the line to be commented...
> >
> > you want to have the line
> >
> > PermitRootLogin no   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> >
> > no comments...
> >
> > this tells the ssh daemon to never allow the root user to login via ssh...
> >
> > -regards
> 
> You are right. Thank-you (all of you) for pointing that out. This list
> is always educational (well almost always...)
> 
> This always confuses me, I think it a little counter intuitive to have
> the option there at it's default setting and then to comment it out. It
> always gives me the impression that if I remove the options it will
> change to the setting.
> 
> Is there some logic behind this? I mean since it's the default setting
> why not leave out the comment? To me that would be more intuitive and I
> would not have to read the comments at the beginning of the file ;-)

It let you know that it is the default value.

I think it is a good practice to have default configuration files with
default settings commented out. It lets me know what are the default
settings as well as what usefull settings are there before checking
any man/info or other documentation.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux