<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic chroot ssh implementation in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867101#M25302</link>
    <description>Xperts,&lt;BR /&gt;&lt;BR /&gt;How can we setup a chrooted SSH.&lt;BR /&gt;&lt;BR /&gt;I've gone through a no. of webpages but they have got their own tools or packages or patches that I do not want to use rather I want to implement it using the default packages available in RHEL.&lt;BR /&gt;&lt;BR /&gt;Tried implementing the pam_chroot.so &amp;amp; also used /etc/security/chroot.conf  but didn't succeed.&lt;BR /&gt;&lt;BR /&gt;So, kindly help me in implementing this using step by step approach....&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ATUL</description>
    <pubDate>Thu, 21 Sep 2006 06:43:34 GMT</pubDate>
    <dc:creator>Atul Gautam</dc:creator>
    <dc:date>2006-09-21T06:43:34Z</dc:date>
    <item>
      <title>chroot ssh implementation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867101#M25302</link>
      <description>Xperts,&lt;BR /&gt;&lt;BR /&gt;How can we setup a chrooted SSH.&lt;BR /&gt;&lt;BR /&gt;I've gone through a no. of webpages but they have got their own tools or packages or patches that I do not want to use rather I want to implement it using the default packages available in RHEL.&lt;BR /&gt;&lt;BR /&gt;Tried implementing the pam_chroot.so &amp;amp; also used /etc/security/chroot.conf  but didn't succeed.&lt;BR /&gt;&lt;BR /&gt;So, kindly help me in implementing this using step by step approach....&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ATUL</description>
      <pubDate>Thu, 21 Sep 2006 06:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867101#M25302</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-09-21T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: chroot ssh implementation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867102#M25303</link>
      <description>Attached is a step by step guide.</description>
      <pubDate>Thu, 21 Sep 2006 08:34:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867102#M25303</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-09-21T08:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: chroot ssh implementation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867103#M25304</link>
      <description>Thanks Ivan,&lt;BR /&gt;&lt;BR /&gt;thanks a lot for this pdf but i've already gone through this one and couldn't implement the same...that's why I had to go for some expert advice.&lt;BR /&gt;&lt;BR /&gt;Please correct me and suggest me beside what I did ---&lt;BR /&gt;&lt;BR /&gt;1) Creating a chroot dir (such as /home/chroot)&lt;BR /&gt;&lt;BR /&gt;2) Creating supporting directories (such as /lib, /usr/lib, /home, /bin)&lt;BR /&gt;&lt;BR /&gt;3) Copying necessary files from actual directories to the ones creating under chrooted directory.&lt;BR /&gt;&lt;BR /&gt;4) Adding users and specifying their home directory as the path to the chroot dir.&lt;BR /&gt;&lt;BR /&gt;5) Specifying the shell present under chroot dir.&lt;BR /&gt;&lt;BR /&gt;6) Editing /etc/security/chroot.conf and specifying information in the format ---&lt;BR /&gt;&lt;USERNAME&gt;        &lt;CHROOT-DIR path=""&gt;&lt;BR /&gt;e.g. example        /tmp/chroot/home/example&lt;BR /&gt;&lt;BR /&gt;7) Editing /etc/pam.d/ssh and mentioning ---&lt;BR /&gt;session   required     pam_chroot.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WHAT ELSE DO I NEED TO DO........???&lt;BR /&gt;&lt;BR /&gt;Kindly suggest me.....&lt;BR /&gt;&lt;BR /&gt;If i'm wrong at this point then do correct me considering yourself as an expert and me as a newbie....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Atul&lt;BR /&gt;&lt;BR /&gt;&lt;/CHROOT-DIR&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 21 Sep 2006 08:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867103#M25304</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-09-21T08:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: chroot ssh implementation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867104#M25305</link>
      <description>Hi Xperts,&lt;BR /&gt;&lt;BR /&gt;Kindly help me....&lt;BR /&gt;Do I need to perform any other step...if yes then please suggest me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;&lt;BR /&gt;Atul</description>
      <pubDate>Mon, 16 Oct 2006 09:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867104#M25305</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-10-16T09:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: chroot ssh implementation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867105#M25306</link>
      <description>Shalom Atul,&lt;BR /&gt;&lt;BR /&gt;You may have a problem going chroot.&lt;BR /&gt;&lt;BR /&gt;To make chroot work all binaries and OS utils must be available in the directory the user is chrooted to.&lt;BR /&gt;&lt;BR /&gt;If this user is developing code they need much broader access to the system than chroot provides.&lt;BR /&gt;&lt;BR /&gt;I think we're in diagnostic mode and I'd like to see what errors are occurring at login and the system level (/var/log/messages, /var/log/secure) in order to be more helpful.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 16 Oct 2006 12:52:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867105#M25306</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-10-16T12:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: chroot ssh implementation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867106#M25307</link>
      <description>I had the same problem until:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) add /etc and /sbin&lt;BR /&gt;&lt;BR /&gt;4 and 5) path and shell you specify are relative to chroot dir. So you should omit the path to chroot dir:&lt;BR /&gt;&lt;BR /&gt;Let's say the chroot dir is /local/chroot/&lt;BR /&gt;and the home directory for a user is /local/chroot/home/user, in /etc/passwd you specify /home/user as home directory.&lt;BR /&gt;&lt;BR /&gt;Same treatment for shell.&lt;BR /&gt;&lt;BR /&gt;also create chroot_path/dev/null&lt;BR /&gt;with  mknod chroot_path/dev/null c 1 3&lt;BR /&gt;and&lt;BR /&gt;chown 666   chroot_path/dev/null &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This should help.</description>
      <pubDate>Tue, 17 Oct 2006 03:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chroot-ssh-implementation/m-p/3867106#M25307</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-10-17T03:53:19Z</dc:date>
    </item>
  </channel>
</rss>

