ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Serge <skompan@kspu.kr.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] ssh и chroot
Date: Tue, 15 Jul 2008 08:41:40 +0300
Message-ID: <200807150841.40525.skompan@kspu.kr.ua> (raw)

Система 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 - не помогло
что еще можно предпринять?

P.S. что интерестно, раньше работало, когда было сломано не знаю, обнаружил 
только вчера

             reply	other threads:[~2008-07-15  5:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15  5:41 Serge [this message]
2008-07-15 14:27 ` 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=200807150841.40525.skompan@kspu.kr.ua \
    --to=skompan@kspu.kr.ua \
    --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