From: Dmitry Lebkov <dima@sakhalin.ru> To: community@altlinux.ru Subject: Re: [Comm] pam_chroot + openssh Date: Wed, 23 Apr 2003 17:00:59 +1100 Message-ID: <20030423170059.474d8f90.dima@sakhalin.ru> (raw) In-Reply-To: <179133834586.20030422101819@okclub.org> On Tue, 22 Apr 2003 10:18:19 +0400 "Dmitry A. Legkikh" <dxod@okclub.org> wrote: > > Приветствую! > > Попробовал вот закрыть пользователя в его хомдире... > Прописал в chroot.conf: prison /home/jail/prison > > Создал в /home/jail/prison > bin > etc > home > lib > > Залил по минимуму самое необходимое, ну там библиотеки, > passwd, group и т.д. > > Вобщем, если зайти под обычным пользователем и сделать > su - prison, то всё работает, > а если просто заходить putty как prison - окно просто закрывается > после ввода пароля безо всяких сообщений в логе. Скорее всего надо примонтировать devpts в /home/jail/prison/dev/pts Но это только начало ... %) > Кто-нибудь сталкивался? См. подробности -> http://www.chains.ch/chroot.php -- WBR, Dmitry Lebkov
prev parent reply other threads:[~2003-04-23 6:00 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-22 6:18 Dmitry A. Legkikh 2003-04-23 6:00 ` Dmitry Lebkov [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=20030423170059.474d8f90.dima@sakhalin.ru \ --to=dima@sakhalin.ru \ --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