ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Anton V. Boyarshinov" <boyarsh@ru.echo.fr>
To: community@altlinux.ru
Subject: [Comm] Re: Запрет удалённого исполнения некоторых команд.
Date: Thu, 22 Apr 2004 10:27:04 +0400
Message-ID: <20040422055712.7C61E2B52C@mail.ru.echo.fr> (raw)
In-Reply-To: <20040422095358.0700c5d4.harlan@mail.ru>

On Thu, 22 Apr 2004 09:53:58 +0700 harlan
 wrote:

> Есть сервер ALM 2.2, который стоит в нескольких десятках
> километрах от меня. Я его администрирую через ssh. Возникла
> необходимость запретить исполнение некоторых команд с
> удалённого терминала (например halt, shutdown -h) даже от имени
> root, а с локального терминала разрешить эти команды только для
> root. Подскажите, как это можно сделать? Нутром чую, что через
> sudo, но можно узнать конкретнее - КАК?

Надёжно -- никак. По крайней мере без RSBAC или чего-нибудь
подобного.

Антон
-- 
mailto:boyarsh@mail.ru
mailto:boyarsh@ru.echo.fr
 10:24:00  up 10 days, 22:20,  9 users,  load average: 1.00,
1.03, 1.06


  reply	other threads:[~2004-04-22  6:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22  2:53 [Comm] " harlan
2004-04-22  6:27 ` Anton V. Boyarshinov [this message]
2004-04-22  6:30 ` Sodom
2004-04-22 10:24 ` [Comm] " Vitaly Ostanin
2004-04-22 11:03   ` Antonio

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=20040422055712.7C61E2B52C@mail.ru.echo.fr \
    --to=boyarsh@ru.echo.fr \
    --cc=community@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