From: "Dmitry V. Levin" <ldv@altlinux.org>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] restricted less
Date: Fri, 15 Feb 2008 19:22:48 +0300
Message-ID: <20080215162248.GA5688@wo.int.altlinux.org> (raw)
In-Reply-To: <m38x1mb3d5.fsf@bungarus.tdr.pibhe.com>
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
On Fri, Feb 15, 2008 at 06:17:58PM +0200, Maxim Tyurin wrote:
> Dmitry V. Levin writes:
> > On Fri, Feb 15, 2008 at 05:48:45PM +0200, Maxim Tyurin wrote:
> >> Ищется безопасная альтернатива less.
> >> Такая чтоб можно было ее в sudoers прописать.
> >> more не подходит ибо зело примитивен и пользоваться им неудобно.
> >
> > Если речь не идёт о борьбе со злостными хакерами @localhost,
> > то, возможно, "noexec" в sudo >= 1.6.8p7 будет достаточно.
> > См. sudoers(5) на тему noexec.
>
> Точно. Забыл про noexec.
>
> Наверное лучше еще пересобрать less с --with-secure, назвать его rless
> и дать sudo на него. Или это уже паранойя? ;)
Паранойа - это не давать local shell из-за багов в ядре.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2008-02-15 16:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 15:48 Maxim Tyurin
2008-02-15 15:58 ` Dmitry V. Levin
2008-02-15 16:17 ` Maxim Tyurin
2008-02-15 16:22 ` Dmitry V. Levin [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=20080215162248.GA5688@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--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