<?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 problem with chroot on 11.31 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451619#M358742</link>
    <description>Dear Gurus, &lt;BR /&gt;           i tried to creat a user with following attibute :&lt;BR /&gt;1) should not transerve back from assigned home dir .&lt;BR /&gt;2)from this i ran ssh_chroot_setup.sh&lt;BR /&gt;--selected option 1.Configure a chroot enviroment&lt;BR /&gt;--Enter the new root directory for newuser with absolute path&lt;BR /&gt;/finlogs/alllogs/testlogs&lt;BR /&gt;3) Selected chroot secure shell&lt;BR /&gt;--2 ssh &amp;amp; sftp &amp;amp; scp&lt;BR /&gt;(hereis if i choose option 1--sftp only,&lt;BR /&gt;user is not able to login thru psftp)&lt;BR /&gt;&lt;BR /&gt;But user is still able to transerve all way back to / and any dir.&lt;BR /&gt;i tried /./ in passwdord file,ftp and telnet are blocked on the system.&lt;BR /&gt;The system is 11.31.&lt;BR /&gt;I need help on this , the user should not transerve back from assigned home dir.&lt;BR /&gt;what i am doing incorrect</description>
    <pubDate>Thu, 02 Jul 2009 08:07:16 GMT</pubDate>
    <dc:creator>DeafFrog</dc:creator>
    <dc:date>2009-07-02T08:07:16Z</dc:date>
    <item>
      <title>problem with chroot on 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451619#M358742</link>
      <description>Dear Gurus, &lt;BR /&gt;           i tried to creat a user with following attibute :&lt;BR /&gt;1) should not transerve back from assigned home dir .&lt;BR /&gt;2)from this i ran ssh_chroot_setup.sh&lt;BR /&gt;--selected option 1.Configure a chroot enviroment&lt;BR /&gt;--Enter the new root directory for newuser with absolute path&lt;BR /&gt;/finlogs/alllogs/testlogs&lt;BR /&gt;3) Selected chroot secure shell&lt;BR /&gt;--2 ssh &amp;amp; sftp &amp;amp; scp&lt;BR /&gt;(hereis if i choose option 1--sftp only,&lt;BR /&gt;user is not able to login thru psftp)&lt;BR /&gt;&lt;BR /&gt;But user is still able to transerve all way back to / and any dir.&lt;BR /&gt;i tried /./ in passwdord file,ftp and telnet are blocked on the system.&lt;BR /&gt;The system is 11.31.&lt;BR /&gt;I need help on this , the user should not transerve back from assigned home dir.&lt;BR /&gt;what i am doing incorrect</description>
      <pubDate>Thu, 02 Jul 2009 08:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451619#M358742</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-07-02T08:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem with chroot on 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451620#M358743</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;To answer your question, I would need to see the /var/adm/syslog/syslog.log out put related to the login.&lt;BR /&gt;&lt;BR /&gt;There is an error there almost certainly, which explains why chroot configuration is failing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 02 Jul 2009 09:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451620#M358743</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-02T09:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with chroot on 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451621#M358744</link>
      <description>Hi Sep , &lt;BR /&gt;&lt;BR /&gt;        Here are the lines generated as a result og login attempt:&lt;BR /&gt;&lt;BR /&gt;Jul  2 13:50:15 PWCDR sshd[19385]: SSH: Server;Ltype: Version;Remote: 80.XXX.YYY.227-3632;Protocol: 2.0;Client: PuTTY_Release&lt;BR /&gt;_0.59&lt;BR /&gt;Jul  2 13:50:22 PWCDR sshd[19385]: Accepted keyboard-interactive/pam for ftpuser from 80.XXX.YYY.227 port 3632 ssh2&lt;BR /&gt;Jul  2 13:50:22 PWCDR sshd[19392]: fatal: bad ownership or modes for chroot directory component "/pcard17/"&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jul 2009 09:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451621#M358744</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-07-02T09:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem with chroot on 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451622#M358745</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Jul 2 13:50:22 PWCDR sshd[19392]: fatal:&lt;BR /&gt;&amp;gt; bad ownership or modes for chroot directory&lt;BR /&gt;&amp;gt; component "/pcard17/"&lt;BR /&gt;&lt;BR /&gt;Some of us non-psychics can't see the&lt;BR /&gt;ownership or permissions on this directory.&lt;BR /&gt;"ls -l[d]"?&lt;BR /&gt;&lt;BR /&gt;Or what's in /etc/passwd for this user.&lt;BR /&gt;&lt;BR /&gt;Or much else.</description>
      <pubDate>Thu, 02 Jul 2009 11:13:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451622#M358745</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-02T11:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem with chroot on 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451623#M358746</link>
      <description>Dear Steven , &lt;BR /&gt;            Here they are :&lt;BR /&gt;PWCDR#more /etc/passwd | grep "^ftpuser"&lt;BR /&gt;ftpuser:ilMT1teLJzfGM:115:107:chrooted user:/pcard17/dir1/dir2/dir3/./:/bin/sh&lt;BR /&gt;PWCDR#ls -ld /pcard17/dir1/dir2/dir3&lt;BR /&gt;drwxr-xr-x  10 root       sys           1024 Jul  2 11:26 /pcard17/dir1/dir2/dir3&lt;BR /&gt;PWCDR#ls -ld ls -ld /pcard17/dir1/dir2&lt;BR /&gt;PWCDR#ls -ld /pcard17/dir1/dir2&lt;BR /&gt;drwxrwxrwx   3 root       sys             96 Jul  2 09:33 /pcard17/dir1/dir2&lt;BR /&gt;PWCDR#ls -ld /pcard17/dir1&lt;BR /&gt;drwxrwxrwx   3 root       sys             96 Jul  2 09:31 /pcard17/dir1&lt;BR /&gt;&lt;BR /&gt;Please let me know if some more o/p is required.&lt;BR /&gt;Regards , &lt;BR /&gt;Rahul</description>
      <pubDate>Thu, 02 Jul 2009 11:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451623#M358746</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-07-02T11:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: problem with chroot on 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451624#M358747</link>
      <description>Hi,&lt;BR /&gt;&amp;gt;&amp;gt;fatal: bad ownership or modes for chroot directory component "/pcard17/"&lt;BR /&gt;&lt;BR /&gt;Check permission of the directiory which user is going to access.&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Thu, 02 Jul 2009 11:27:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-chroot-on-11-31/m-p/4451624#M358747</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-07-02T11:27:12Z</dc:date>
    </item>
  </channel>
</rss>

