<?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 Restricted Telnet in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061166#M738096</link>
    <description>Okay....i am stuck again.... :)&lt;BR /&gt;&lt;BR /&gt;What i need is:&lt;BR /&gt;Create a user with shell accesss and should be able to do cd within his home directory only. Other words chrooting the home directory.&lt;BR /&gt;I have followed sugegstions in threads but somehow no luck.&lt;BR /&gt;Password file looks like:&lt;BR /&gt;anstest:*:105:20:Anshu Test Shell,,,:/home/anstest/./:/bin/sh&lt;BR /&gt;&lt;BR /&gt;And the /etc/profile contains:&lt;BR /&gt;&lt;BR /&gt;if [ "$LOGNAME" = anstest ]&lt;BR /&gt;then&lt;BR /&gt;chroot /home/anstest&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;what is missing here? Anything else to configure.&lt;BR /&gt;&lt;BR /&gt;OS 11.11 &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Aug 2007 05:31:16 GMT</pubDate>
    <dc:creator>Anshumali</dc:creator>
    <dc:date>2007-08-02T05:31:16Z</dc:date>
    <item>
      <title>Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061166#M738096</link>
      <description>Okay....i am stuck again.... :)&lt;BR /&gt;&lt;BR /&gt;What i need is:&lt;BR /&gt;Create a user with shell accesss and should be able to do cd within his home directory only. Other words chrooting the home directory.&lt;BR /&gt;I have followed sugegstions in threads but somehow no luck.&lt;BR /&gt;Password file looks like:&lt;BR /&gt;anstest:*:105:20:Anshu Test Shell,,,:/home/anstest/./:/bin/sh&lt;BR /&gt;&lt;BR /&gt;And the /etc/profile contains:&lt;BR /&gt;&lt;BR /&gt;if [ "$LOGNAME" = anstest ]&lt;BR /&gt;then&lt;BR /&gt;chroot /home/anstest&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;what is missing here? Anything else to configure.&lt;BR /&gt;&lt;BR /&gt;OS 11.11 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2007 05:31:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061166#M738096</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-02T05:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061167#M738097</link>
      <description>&amp;gt; what is missing here?&lt;BR /&gt;&lt;BR /&gt;An explanation of what, exactly, "no luck"&lt;BR /&gt;means.  What happens?  What doesn't work?</description>
      <pubDate>Thu, 02 Aug 2007 07:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061167#M738097</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-08-02T07:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061168#M738098</link>
      <description>Hello Anshumali,&lt;BR /&gt;&lt;BR /&gt;if you use an * in /etc/passwd, unles you don't use a secure system, you disable login for that user.&lt;BR /&gt;&lt;BR /&gt;man passwd&lt;BR /&gt;&lt;BR /&gt;What exactly are your problems? Can you log in?  Do you have to many or to little permissions? &lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt;Ralf&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2007 07:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061168#M738098</guid>
      <dc:creator>Ralf Seefeldt</dc:creator>
      <dc:date>2007-08-02T07:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061169#M738099</link>
      <description>I'm not sure if you can do this with telnet, with SSH is possible and you should by now, use SSH.&lt;BR /&gt;&lt;BR /&gt;The chroot command requieres:&lt;BR /&gt;&lt;BR /&gt;1- An chroot environment created&lt;BR /&gt;2- A command to execute</description>
      <pubDate>Thu, 02 Aug 2007 07:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061169#M738099</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-08-02T07:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061170#M738100</link>
      <description>Perhaps rsh (Restricted Shell) would be a better fit for your needs.  See "rsh Restrictions" in the sh-posix(1) man for more information.</description>
      <pubDate>Thu, 02 Aug 2007 07:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061170#M738100</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-08-02T07:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061171#M738101</link>
      <description>Yes Its a trusted System, that why password field is *&lt;BR /&gt;What doesnt work?:&lt;BR /&gt;Logging the same anstest user, user can navigate to all the file system. it doesnt show as homedir as chrooted directory. &lt;BR /&gt;&lt;BR /&gt;rsh:&lt;BR /&gt;Yes...i gave it a try but it doesnt provide access to cd command. Is there anyway to provide access to cd command in rsh? User should be able to traverse down from his home directory, but not upwards...thats the reason i went for chroot method.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2007 07:57:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061171#M738101</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-02T07:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061172#M738102</link>
      <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;Any pointers/threads how to get this done with SSH. I would surely give it a try. Ofcourse, auditors will be happy as well. ;)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Anshu</description>
      <pubDate>Thu, 02 Aug 2007 07:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061172#M738102</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-02T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061173#M738103</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Ours is also a trusted system but we have implemented with ssh (chroot'd env) amd know for sure it works.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Thu, 02 Aug 2007 08:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061173#M738103</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2007-08-02T08:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061174#M738104</link>
      <description>HGN,&lt;BR /&gt;&lt;BR /&gt;Is there any doc to configure chrooted env with SSH or the above settings are similar with ur env and works well when SSH is installed. Any specific config in SSH?</description>
      <pubDate>Thu, 02 Aug 2007 08:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061174#M738104</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-02T08:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061175#M738105</link>
      <description>i got &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1122269" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1122269&lt;/A&gt;&lt;BR /&gt;will try it out....still appreciate if anyone can shed light on the original question :)</description>
      <pubDate>Thu, 02 Aug 2007 08:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061175#M738105</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-02T08:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061176#M738106</link>
      <description>Hi Anshumali,&lt;BR /&gt;&lt;BR /&gt;/opt/ssh/README_chroot.html&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Aug 2007 06:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061176#M738106</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2007-08-09T06:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted Telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061177#M738107</link>
      <description>Syntax issue&lt;BR /&gt;/opt/ssh/README_chroot.html helped and the responses above</description>
      <pubDate>Mon, 13 Aug 2007 00:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-telnet/m-p/5061177#M738107</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-08-13T00:36:39Z</dc:date>
    </item>
  </channel>
</rss>

