ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: chroot solution...
Date: Wed Sep  5 20:52:13 2001
Message-ID: <20010905195502.A26362@pc152.belcaf.minsk.by> (raw)
In-Reply-To: <20010905203231.A19488@localhost.localdomain>; from alexey_tourbin@mail.ru on Wed, Sep 05, 2001 at 08:32:31PM +0400

On Wed, Sep 05, 2001 at 08:32:31PM +0400, AT wrote:
> 
> Проблема с разрешением uid/gid в имена внезапно разрешилась при помощи
> копирования /lib/libnss_files.so.2.
> 
> Причем, ни одна другая библеотека из /home/www/lib/* или бинарик к ней не
> привязаны. Почему такое происходит? Как определить все библиотеки, которые
> не видно через ldd, но которые нужны для работы?
info libc 'Name Service Switch'

> > Изменение файлов в chroot'е станет равносильно изменению файлов основной
> > системы.
> 
> Понятно. Кто-нибудь может получить root и отредактировать libc.so.6 в
> пределах всей системы. То есть нельзя.
> 
> Тогда другой вопрос: насколько выгоднее делать статическую линковку
> программ, которые работают под chroot?
Не всегда выгодно. ВЫгоднее не делять hard links.

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
You can't hug a child with nuclear arms.



  reply	other threads:[~2001-09-05 20:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05  3:49 [mdk-re] chroot AT
2001-09-05  9:51 ` cornet
2001-09-05 12:17 ` Dmitry V. Levin
2001-09-05 17:26   ` AT
2001-09-05 18:45     ` AT
2001-09-05 19:23     ` Dmitry V. Levin
2001-09-05 20:33       ` [mdk-re] chroot solution AT
2001-09-05 20:52         ` Alexander Bokovoy [this message]
2001-09-05 21:32         ` Dmitry V. Levin
2001-09-05 23:58           ` [mdk-re] chroot solution=>escape from chroot cornet
2001-09-06  2:28           ` [mdk-re] chroot solution AT

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=20010905195502.A26362@pc152.belcaf.minsk.by \
    --to=a.bokovoy@sam-solutions.net \
    --cc=mandrake-russian@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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