ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] SUID SGID and NO_CREATER door in linux system
Date: Sat, 23 May 2009 02:29:11 +0400
Message-ID: <20090522222911.GB30950@mw.office.seiros.ru> (raw)
In-Reply-To: <200905200503.31520.antivir88@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

On Wed, May 20, 2009 at 05:03:31AM +0700, antivir88@mail.ru wrote:

> А вот с SUID и SGID дверями ломать голову наверно долго придётся,
> помойму почемуто кажется что проще в указаных в прошлом письме
> (в атаче suid_sgid_door.txt) выключить вообще эти биты, а при наступлении 
> некоторых граблей делать вывод о возврате какой-либо программе этих битов..

Надо сначала почитать документацию о том как работает SUID и SGID, дать по
морде тому идиоту который вам сказал что "SGID/SUID это всегда плохо", а
также подумать о том что квалификация мантейнеров в команде в плане
безопасности весьма немаленькая.

И во многих случаях отключение того же SGID приведет к множеству проблем,
и, возможно, даже к появлению security проблем. SUID/SGID если owner/group
_не_ root, обычно является важным и разумным.

А SUID root на небольшом количестве приложений, где это действительно
необходимо.

-- 
С уважением, Денис

http://freesource.info
----------------------------------------------------------------------------

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      parent reply	other threads:[~2009-05-22 22:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-17 19:39 antivir88
2009-05-18  7:49 ` antivir88
2009-05-21 21:11   ` Денис Смирнов
2009-05-26 18:27     ` [Sysadmins] [JT] " Michael Shigorin
2009-05-26 18:46       ` George V. Kouryachy
2009-05-26 19:29         ` Michael Shigorin
2009-05-18 10:49 ` [Sysadmins] " Mykola S. Grechukh
2009-05-19 18:02 ` George V. Kouryachy
2009-05-19 22:03   ` antivir88
2009-05-20  5:58     ` Andrew Avramenko
2009-05-20 19:52     ` George V. Kouryachy
2009-05-22 22:29     ` Денис Смирнов [this message]

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=20090522222911.GB30950@mw.office.seiros.ru \
    --to=mithraen@altlinux.ru \
    --cc=sysadmins@lists.altlinux.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

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git