From: madKOT <mad_kot@euro.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] rsh users
Date: Mon Sep 17 05:22:01 2001
Message-ID: <20010917082630.114c5cb4.mad_kot@euro.ru> (raw)
In-Reply-To: <3BA202E5.EEDBEBC9@zmail.ru>
On Fri, 14 Sep 2001 17:15:17 +0400
cornet <cornet@zmail.ru> wrote:
> Hello all!!
>
> Проблемма:
> Есть машина A, на которой поднят rshd
> в хоумнике пользователя user прописан .rhosts в котором прописан
> IP машины B.
> Есть машина B, с консоли которой подается команда:
> rsh -l user IP_of_A command_name
>
> Так вот, пускает ТОЛЬКО в том случае, если команда подается на
> машине B от того же юзера с именем user, а если от root'а то
> отшивает с Permission denied, о чем в логах машины A есть
> соответствующая запись.
> А мне эту команду на машине B именно от root'a подать надо,
> поскольку ее вывод перенаправится в системную тулзу, а открывать
> заход по rsh для root'а на машине A очень не хочется.
>
> Куда копать?
У меня сложилось впечатление, что .rhosts с rsh -l user
не работает по идеологическим соображениям
(по крайней мере в SCO та же история) :-/
Как вариант могу предложить
#su user -c "rsh IP_of_A command_name"
---
WBW,
madKOT
next prev parent reply other threads:[~2001-09-17 5:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-14 17:11 cornet
2001-09-17 5:22 ` madKOT [this message]
2001-09-17 10:17 ` cornet
2001-09-17 20:59 ` Sergei
2001-09-17 21:24 ` cornet
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=20010917082630.114c5cb4.mad_kot@euro.ru \
--to=mad_kot@euro.ru \
--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