<?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 Re: Secure Shell update broke chroot environment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130110#M449587</link>
    <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Just in case somebody experience the same issue, here the solution I got from HP. Note that this is for a chroot environment after that was there before the Secure Shell update.&lt;BR /&gt;&lt;BR /&gt;1 - On the actual /etc/passwd file, change the chrooted account's home directory from "/&lt;CHROOT_DIR&gt;/./home/&lt;ACCOUNT&gt;" to "/home/&lt;ACCOUNT&gt;".&lt;BR /&gt;2 - Do the same for "/&lt;CHROOT_DIR&gt;/etc/passwd"&lt;BR /&gt;3 - On the end of the /opt/ssh/etc/sshconfig file add two lines like:&lt;BR /&gt;Match User &lt;ACCOUNT&gt;&lt;BR /&gt;    ChrootDirectory /&lt;CHROOT_DIR&gt;&lt;BR /&gt;4 - Restart sshd.&lt;BR /&gt;&lt;BR /&gt;Alex&lt;/CHROOT_DIR&gt;&lt;/ACCOUNT&gt;&lt;/CHROOT_DIR&gt;&lt;/ACCOUNT&gt;&lt;/ACCOUNT&gt;&lt;/CHROOT_DIR&gt;</description>
    <pubDate>Thu, 18 Sep 2008 20:51:07 GMT</pubDate>
    <dc:creator>Alex Wanderley</dc:creator>
    <dc:date>2008-09-18T20:51:07Z</dc:date>
    <item>
      <title>Secure Shell update broke chroot environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130107#M449584</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is on 11.11i v1.&lt;BR /&gt;After udating Secure Shell from A.04.70.009 to A.05.00.024 chroot ssh, sftp and scp environments stopped working. The account can login, but it doesn't get "jailed" to its home directory.&lt;BR /&gt;I successfully created a brand new test environmemt/account with the /opt/ssh/utils/ssh_chroot_setup.sh script, but end up with the same behavior.&lt;BR /&gt;Just so you know, enabling he "ChrootDirectory" clause on /opt/ssh/etc/sshd_config didn't help because it made all accounts to chroot to that directory.&lt;BR /&gt;Has anybody had this problem before?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;&lt;BR /&gt;Alex</description>
      <pubDate>Tue, 16 Sep 2008 19:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130107#M449584</guid>
      <dc:creator>Alex Wanderley</dc:creator>
      <dc:date>2008-09-16T19:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shell update broke chroot environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130108#M449585</link>
      <description>Hi Alex,&lt;BR /&gt;&lt;BR /&gt;See known problems and workarounds for this version:&lt;BR /&gt;"The chroot functionality does not work if the UseLogin configuration directive in sshd_config is set to YES" &lt;BR /&gt;&lt;BR /&gt;More here - &lt;A href="http://docs.hp.com/en/T1471-90033/ch01s06.html" target="_blank"&gt;http://docs.hp.com/en/T1471-90033/ch01s06.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Tue, 16 Sep 2008 19:50:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130108#M449585</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-09-16T19:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shell update broke chroot environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130109#M449586</link>
      <description>Hi Ivan,&lt;BR /&gt;&lt;BR /&gt;The UseLogin clause is actually set to its default: "no".&lt;BR /&gt;I tried actually making it explicit and restarting sshd, but it didn't work either.&lt;BR /&gt;&lt;BR /&gt;But that's how it looks like: as if the "UseLogin" clause was set to "yes"...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Alex</description>
      <pubDate>Tue, 16 Sep 2008 20:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130109#M449586</guid>
      <dc:creator>Alex Wanderley</dc:creator>
      <dc:date>2008-09-16T20:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shell update broke chroot environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130110#M449587</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Just in case somebody experience the same issue, here the solution I got from HP. Note that this is for a chroot environment after that was there before the Secure Shell update.&lt;BR /&gt;&lt;BR /&gt;1 - On the actual /etc/passwd file, change the chrooted account's home directory from "/&lt;CHROOT_DIR&gt;/./home/&lt;ACCOUNT&gt;" to "/home/&lt;ACCOUNT&gt;".&lt;BR /&gt;2 - Do the same for "/&lt;CHROOT_DIR&gt;/etc/passwd"&lt;BR /&gt;3 - On the end of the /opt/ssh/etc/sshconfig file add two lines like:&lt;BR /&gt;Match User &lt;ACCOUNT&gt;&lt;BR /&gt;    ChrootDirectory /&lt;CHROOT_DIR&gt;&lt;BR /&gt;4 - Restart sshd.&lt;BR /&gt;&lt;BR /&gt;Alex&lt;/CHROOT_DIR&gt;&lt;/ACCOUNT&gt;&lt;/CHROOT_DIR&gt;&lt;/ACCOUNT&gt;&lt;/ACCOUNT&gt;&lt;/CHROOT_DIR&gt;</description>
      <pubDate>Thu, 18 Sep 2008 20:51:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130110#M449587</guid>
      <dc:creator>Alex Wanderley</dc:creator>
      <dc:date>2008-09-18T20:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Shell update broke chroot environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130111#M449588</link>
      <description>This thread is closed.</description>
      <pubDate>Thu, 18 Sep 2008 20:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-update-broke-chroot-environment/m-p/5130111#M449588</guid>
      <dc:creator>Alex Wanderley</dc:creator>
      <dc:date>2008-09-18T20:52:59Z</dc:date>
    </item>
  </channel>
</rss>

