From: Maxim Tyurin <mrkooll@bungarus.info>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] restricted less
Date: Fri, 15 Feb 2008 18:17:58 +0200
Message-ID: <m38x1mb3d5.fsf@bungarus.tdr.pibhe.com> (raw)
In-Reply-To: <20080215155850.GA3563@wo.int.altlinux.org> (Dmitry V. Levin's message of "Fri\, 15 Feb 2008 18\:58\:50 +0300")
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 на него. Или это уже паранойя? ;)
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
___
/ _ )__ _____ ___ ____ _______ _____
/ _ / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/ \_,_/___/
/___/
next prev parent reply other threads:[~2008-02-15 16:17 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 [this message]
2008-02-15 16:22 ` Dmitry V. Levin
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=m38x1mb3d5.fsf@bungarus.tdr.pibhe.com \
--to=mrkooll@bungarus.info \
--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