[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2015-07-01 Thread Lars Noodén
It has been fixed upstream:

http://www.openssh.com/txt/release-6.9

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/510732

Title:
  OpenSSH server sshd_config PermitRootLogin - NO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/510732/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2015-06-20 Thread Lars Noodén
This one can probably be closed since the default is now
PermitRootLogin without-password and that's close enough.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/510732

Title:
  OpenSSH server sshd_config PermitRootLogin - NO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/510732/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2011-12-29 Thread conrad
The entirety of the discussion seems to say there's no intention to
change the current defaults. Why is this 'wishlist', not 'wontfix' or
somesuch?

** Changed in: openssh (Ubuntu)
   Status: Confirmed = Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/510732

Title:
  OpenSSH server sshd_config PermitRootLogin - NO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/510732/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2011-03-03 Thread Ivan Borzenkov
Yes, it is not safe setting, particularly for home PC - there is put a
simple password to root, and often install ssh server, if you have an
external IP and need access from work.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.
https://bugs.launchpad.net/bugs/510732

Title:
  OpenSSH server sshd_config PermitRootLogin - NO

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-03-14 Thread Lars Noodén
Don't argue about it.  Just make the correction by setting it to No

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-03-13 Thread candyban
Mathias,

 Could you elaborate how defaulting PermitRootLogin to no would improve the
 default installation?

It does not pass a makes sense sensor (at least not mine). It actually 
alarmed me a for a minute into thinking there may be a backdoor into my system. 
(I double checked /etc/shadow to make sure)
The improvement comes from a more consistent and logical system/configuration.

Colin,

 If upstream are so convinced that this is a bad idea, then I doubt they would 
 have made PermitRootLogin default to yes! I do 
 not intend to deviate from upstream in the Debian or Ubuntu packaging on this 
 matter. If you want this changed, convince 
 upstream.

If you do not want to be BETTER than upstream, then what's the point of
a derivative distro? In OSS philosophy you can/should report to upstream
and have it fixed there so it benefits everyone, but when a setting
doesn't make sense, it just doesn't make sense and should be changed
IMHO.

For anyone not wanting to change it: What is the reasoning behind
setting PermitRootLogin to yes other than upstream does it too?

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-03-13 Thread Colin Watson
I have stated my position repeatedly, in many different places.  It's
obvious that you simply disagree so I don't think it's worth me stating
it again.  I respect your right to disagree.

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-22 Thread Lars Noodén
Jamie, the various backup strategies that I have seen are all suited to
using sudo.  They all run a program or script which receives some
arguments at run time.  That includes rsync over ssh.  Could you please
be specific about which backup strategy is not able to work with sudo?

Kees, yes, I see that it is not an new issue.  However, there is no need
to rationalize legacy settings.  The closest to a real choice is between
a small up front investment in knowledge or documentation about sudo
versus a larger mess later on.   In that way, the assertion of security
XOR usability,  appears to be a false dichotomy.

Colin, this bug report is for Ubuntu, not Debian, OpenSSH portable team,
or OpenBSD.  The object is to address the relative weakness of Ubuntu
servers in regards to bruteforce attacks against root accounts.  Since
upstream is mentioned, you probably have direct experience there.  I
would remind then that OpenSSH is developed as part of OpenBSD and that
when installing OpenBSD, the default there during the basic installation
is if a regular user is added is to turn off remote root login.  So one
compromise would be to add the same option to the Ubuntu server
installation script.

Most sub-distros do not have openssh-server by default, so this bug does
not affect them, only AFAIK the Ubuntu server.

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-22 Thread Mathias Gug

On Fri, Jan 22, 2010 at 12:54:29PM -, Lars Noodén wrote:
 
 Most sub-distros do not have openssh-server by default, so this bug does
 not affect them, only AFAIK the Ubuntu server.


The default Ubuntu Server install does *not* have openssh-server
installed.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-22 Thread Lars Noodén
The default Ubuntu Server install does *not* have openssh-server
installed.

Ok, then that's a separate bug needing a separate bug report.

Nearly all installations of the openssh-server package, I am guessing
then, are on the Ubuntu Server or an alternate install tuned to be
rather like the Ubuntu Server.  Is there a way of getting the popularity
contest data to examine package installation frequency and finding
groupings or clusters of daemons commonly installed together?

Mathias, did comment #2 answer your question about setting PermitRootLogin to 
NO as default would improve the
default openssh-server installation?

https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/510732/comments/2

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-22 Thread Mathias Gug
On Fri, Jan 22, 2010 at 08:26:58PM -, Lars Noodén wrote:
 The default Ubuntu Server install does *not* have openssh-server
 installed.
 
 Ok, then that's a separate bug needing a separate bug report.


As outlined on the Security Team policies [1]

  No Open Ports

  Default installations of Ubuntu must have no listening network services after
  initial install. Exceptions to this rule include network infrastructure
  services such as the DHCP client and mDNS (Avahi/ZeroConf, see
  ZeroConfPolicySpec for implementation details and justification). When
  installing Ubuntu Server, the administrator can, of course, select specific
  services to install beyond the defaults (e.g. Apache). 

[1]: https://wiki.ubuntu.com/SecurityTeam/Policies

So there is no need to open a new bug report about this. If you want to discuss
this policy I'd recommend to send your proposal to the ubuntu-devel@ mailing
list. A bug report is definitely not the best option to have your thoughts on
that matter heard.
 
 Nearly all installations of the openssh-server package, I am guessing
 then, are on the Ubuntu Server or an alternate install tuned to be
 rather like the Ubuntu Server.  Is there a way of getting the popularity
 contest data to examine package installation frequency and finding
 groupings or clusters of daemons commonly installed together?


I don't think so. It's hard to measure what is installed and what is not. As
consequence anyone's numbers are as accurate as anyone else's.
 
 Mathias, did comment #2 answer your question about setting PermitRootLogin to 
 NO as default would improve the
 default openssh-server installation?
 

Yes - thanks.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-21 Thread Lars Noodén
Hmm.  Wishlist is not the right category for a bug.

Mathias, defaulting PermitRootLogin to no improves the layered process
of 'security' for the default installation by adding another layer of
protection and not relying on the hope that the root account will always
remain disabled.  Correcting the default setting for that directive adds
an additional line of defense should the root account become activated,
something which is easily done by accident, curiosity or misguided
attempts at solving other problems.  You can work that out for yourself.

My own recent anecdotes show that, on the Ubuntu forums and when dealing
with about 150 students (from 2006-2009) whom I guided in laboratory
exercises involving Ubuntu,  root accounts do get activated.

You can go to the page at the first link above to the people who write
OpenSSH and read what they recommend: defaulting PermitRootLogin to no.

Does that answer your question?

See also

http://wiki.centos.org/HowTos/Network/SecuringSSH#head-
9c01429983dccbf74ade8674815980dc6434d3ba

https://calomel.org/openssh.html

http://www.linux.com/archive/feature/119744/

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-21 Thread Lars Noodén
Thank you for the cheezburger link, Kees.  From it, I am starting to
understand more about how decisions are made in the Ubuntu project and
the authoritative resources drawn upon to help make informed decisions.
Anyhow, those that somehow get the impression that they want to log in
as root can always set the PermitRootLogin directive in /etc/sshd_config
from 'no' to 'yes'

What use-case is there for remote root login that cannot already be met by a 
tuned sudoers?
Use of sudo allows further compartmentalization of access and privilege.  

Layering security defenses in an application can reduce the chance of a 
successful attack...
so that if one layer of defense turns out to be inadequate, another layer of 
defense will hopefully prevent a full breach. 
https://buildsecurityin.us-cert.gov/daisy/bsi/articles/knowledge/principles/347-BSI.html

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-21 Thread Kees Cook
authoritative resources?  I'm inferring that you think my use of a
simple diagram tool to help illustrate this bug is somehow
inappropriate?  And yes, I know what layered security is.  :)

Please understand that the PermitRootLogin config default is not a new
issue.  I'm trying to make sure everyone can have the same language to
discuss it, as this has traditionally been what has derailed discussions
before.  Also, I did not mention in my first comment, but I support
changing this setting.  That said, Ubuntu tries to make its decisions
via consensus, which this issue does not have.  I'm hoping to build such
a consensus.

The primary concern I have is for the safety of Ubuntu users, though it
must be balanced against usability.  A default system doesn't even have
openssh-server installed (it is, of course, installed on nearly all
server systems).  A system _with_ openssh-server does not allow root
login because the root user's password is locked.  Therefore, the bulk
of Ubuntu users are protected already from root-targeted SSH brute-force
attacks.

This bug is explicitly about the behavior of an already non-default
system (openssh-server installed, root password enabled).  For this
minority of Ubuntu systems, the PermitRootLogin setting currently
creates a problem for the people that aren't thinking about how brute
forcing might compromise them (i.e. people that did not understand the
implications of enabling the strongly discouraged root password).
Changing the setting protects these people and gets in the way of people
that do not know how to change PermitRootLogin to yes.

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 510732] Re: OpenSSH server sshd_config PermitRootLogin - NO

2010-01-21 Thread Colin Watson
If upstream are so convinced that this is a bad idea, then I doubt they
would have made PermitRootLogin default to yes!  I do not intend to
deviate from upstream in the Debian or Ubuntu packaging on this matter.
If you want this changed, convince upstream.

We wrote down our thoughts on this in openssh's README.Debian file some
years ago.

-- 
OpenSSH server sshd_config PermitRootLogin - NO
https://bugs.launchpad.net/bugs/510732
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs