From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] ssh и chroot
Date: Tue, 15 Jul 2008 18:27:33 +0400
Message-ID: <20080715142733.GB32065@wo.int.altlinux.org> (raw)
In-Reply-To: <200807150841.40525.skompan@kspu.kr.ua>
[-- Attachment #1: Type: text/plain, Size: 804 bytes --]
On Tue, Jul 15, 2008 at 08:41:40AM +0300, Serge wrote:
> Система Server 4.0 + updates
> пользователь находится в chroot. Файловая система для chroot организована.
> При попытке входа под этим пользователем по ssh (после набора пароля) сессия
> виснет. В логах наблюдаю:
> Jul 15 08:34:33 ns sshd[10852]: pam_tcb(sshd:session): Session opened for user
> by (uid=0)
> Jul 15 08:34:33 ns sshd[10852]: pam_chroot(sshd:session): chroot(/home/user)
> succeeded
> Jul 15 08:34:33 ns sshd[10852]: error: openpty: No such file or directory
> Jul 15 08:34:33 ns sshd[10852]: error: session_pty_req: session 0 alloc failed
>
> обновил udev из Server 4.1, сделал service udevd restart - не помогло
> что еще можно предпринять?
Смонтировать /dev/pts
P.S. А почему не контейнер?
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2008-07-15 14:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 5:41 Serge
2008-07-15 14:27 ` 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=20080715142733.GB32065@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--cc=community@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 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