From: Stefan Behte <craig@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] A policy to support random superuser account names
Date: Sun, 02 May 2010 20:52:01 +0200 [thread overview]
Message-ID: <4BDDC9D1.70805@gentoo.org> (raw)
In-Reply-To: <4BDD98E1.7080601@gentoo.org>
02.05.2010 17:23, Krzysztof Pawlik wrote:
> Interesting... to me that's not only stupid but also kinda useless - there's no
> difference between brute-forcing a password for user named 'foo' or 'root' -
> user name doesn't matter much.
> It's better to disable password-based remote login altogether in
sshd_config.
> Security by obscurity is a nice way to make pseudo-sys-admins feel
warm and fuzzy :]
The username is 50% of what you need to know to be able to log in, and
security by obscurity can support environments where the attacker cannot
gain insight easily, in contrast to e.g. security by obscurity in
hardware like telephones that are shipped to you and can be examined
closely.
However, it cannot be seen as effective countermeasure against attacks
and AFAIR the BSI also says, that you shouldn't allow root logins and
need a second user for logging in. All of it is a bit ridiculous,
because when you're in a position to try gaining uid 0, you probably can
read /etc/passwd already.
So, of course, it's really dumb and only creates problems. One can try
to explain that to an auditor - but it will cause not only a few
problems and definitively delay and/or endanger your certification, if
this was a "MUST" and not a "SHOULD". If it is a "SHOULD", you need to
explain (in convincing written form, of course) why you do not want to
implement it.
Back to topic: I think it would be nice be able to rename root, but I'm
not sure how much work this is, and doubt many people would actually
benefit from it.
In scripts I use to deploy things to both BSI and non-BSI systems, I'm
simply using "chown 0:0 foo". I think we could do that in our eclasses
without breaking things, but helping poor souls that renamed root. ;)
A quick look revealed that the tetex.eclass already does this and that
there are several other eclasses that use "chown -R root:0".
Best regards,
Craig
next prev parent reply other threads:[~2010-05-02 18:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-30 18:07 [gentoo-dev] A policy to support random superuser account names Michał Górny
2010-04-30 18:29 ` Fabian Groffen
2010-04-30 19:36 ` Alec Warner
2010-04-30 19:36 ` Alec Warner
2010-05-02 21:57 ` Enrico Weigelt
2010-05-03 7:31 ` Michał Górny
2010-05-04 19:19 ` Mike Frysinger
2010-05-02 15:13 ` Stefan Behte
2010-05-02 15:23 ` Krzysztof Pawlik
2010-05-02 18:52 ` Stefan Behte [this message]
2010-05-02 22:06 ` Enrico Weigelt
2010-05-02 22:00 ` Enrico Weigelt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BDDC9D1.70805@gentoo.org \
--to=craig@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox