<?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: rksh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607785#M35401</link>
    <description>Re:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I'm trying to add 1 user and lock then down&lt;BR /&gt;&amp;gt; to a shell in a specific directory on HP-UX&lt;BR /&gt;&amp;gt; 11.00. rksh/rsh would work great in my case&lt;BR /&gt;&amp;gt; except they disable the use of cd. This&lt;BR /&gt;&amp;gt; directory has sub-directories which I would&lt;BR /&gt;&amp;gt; like to give them access to.&lt;BR /&gt;&lt;BR /&gt;With rksh/rsh they still have *access* to the subdirectories and the files in them, they 'just' can not *cd* to them.&lt;BR /&gt;&lt;BR /&gt;Re: A chroot(2)-ed environment. That is possible, but the documentation supplied with HP-UX has very limited information on it. Basically all is this part from the login(1) manual page:&lt;BR /&gt;&lt;BR /&gt;[start quote:]&lt;BR /&gt;If the command name field is *, a chroot() to the directory named in&lt;BR /&gt;the directory field of the entry is performed.  At that point login is&lt;BR /&gt;re-executed at the new level which must have its own root structure,&lt;BR /&gt;including a /usr/bin/login command and an /etc/passwd file.&lt;BR /&gt;[end quote.]&lt;BR /&gt;&lt;BR /&gt;That information is both correct and (at least implicitly) complete, but you will have to read/interpret it very carefully to understand the full implications.&lt;BR /&gt;&lt;BR /&gt;However reading your requirements, I think that a chroot()-ed environment is an overkill.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Nov 2001 12:57:46 GMT</pubDate>
    <dc:creator>Frank Slootweg</dc:creator>
    <dc:date>2001-11-06T12:57:46Z</dc:date>
    <item>
      <title>rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607778#M35394</link>
      <description />
      <pubDate>Mon, 05 Nov 2001 22:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607778#M35394</guid>
      <dc:creator>Frank417</dc:creator>
      <dc:date>2001-11-05T22:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607779#M35395</link>
      <description>?????  restricted korn shell&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Mon, 05 Nov 2001 22:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607779#M35395</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-11-05T22:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607780#M35396</link>
      <description>tricky interface..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm trying to add 1 user and lock then down to a shell in a specific directory on HP-UX 11.00.  rksh/rsh would work great in my case except they disable the use of cd.  This directory has sub-directories which I would like to give them access to.  I attempted to use chroot, but that won't work because of dld dependencies.  Any ideas ?</description>
      <pubDate>Mon, 05 Nov 2001 22:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607780#M35396</guid>
      <dc:creator>Frank417</dc:creator>
      <dc:date>2001-11-05T22:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607781#M35397</link>
      <description>What about setting up samba? Or do they actually have to use the Unix system?&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Mon, 05 Nov 2001 23:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607781#M35397</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-05T23:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607782#M35398</link>
      <description>they need to run various programs on the system.</description>
      <pubDate>Mon, 05 Nov 2001 23:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607782#M35398</guid>
      <dc:creator>Frank417</dc:creator>
      <dc:date>2001-11-05T23:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607783#M35399</link>
      <description>You need a chroot jailed environment. Problem is: When you do that, your user is absolutely 'locked out' of the rest of the unix box. This means you have to replicate a lot of the original box (you can do it with hardlinks) to allow him/her to make something useful.&lt;BR /&gt;&lt;BR /&gt;There's also a project called "The Jail Chroot Project" that allows you to run a shell in a chroot'ed environment. Be aware though, that this is a Linux/Solaris/FreeBSD project. The author says it's goal is to be portable, so you may want to take a look at it and see if it's not so hard to customize for HP-UX.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paga&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Nov 2001 00:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607783#M35399</guid>
      <dc:creator>Marco Paganini</dc:creator>
      <dc:date>2001-11-06T00:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607784#M35400</link>
      <description>As it couldn't be different, I forgot to post the URL. Here it goes:&lt;BR /&gt;&lt;BR /&gt;Jail Chroot Project&lt;BR /&gt;&lt;A href="http://www.gsyc.inf.uc3m.es/~assman/jail/" target="_blank"&gt;http://www.gsyc.inf.uc3m.es/~assman/jail/&lt;/A&gt;</description>
      <pubDate>Tue, 06 Nov 2001 00:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607784#M35400</guid>
      <dc:creator>Marco Paganini</dc:creator>
      <dc:date>2001-11-06T00:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607785#M35401</link>
      <description>Re:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I'm trying to add 1 user and lock then down&lt;BR /&gt;&amp;gt; to a shell in a specific directory on HP-UX&lt;BR /&gt;&amp;gt; 11.00. rksh/rsh would work great in my case&lt;BR /&gt;&amp;gt; except they disable the use of cd. This&lt;BR /&gt;&amp;gt; directory has sub-directories which I would&lt;BR /&gt;&amp;gt; like to give them access to.&lt;BR /&gt;&lt;BR /&gt;With rksh/rsh they still have *access* to the subdirectories and the files in them, they 'just' can not *cd* to them.&lt;BR /&gt;&lt;BR /&gt;Re: A chroot(2)-ed environment. That is possible, but the documentation supplied with HP-UX has very limited information on it. Basically all is this part from the login(1) manual page:&lt;BR /&gt;&lt;BR /&gt;[start quote:]&lt;BR /&gt;If the command name field is *, a chroot() to the directory named in&lt;BR /&gt;the directory field of the entry is performed.  At that point login is&lt;BR /&gt;re-executed at the new level which must have its own root structure,&lt;BR /&gt;including a /usr/bin/login command and an /etc/passwd file.&lt;BR /&gt;[end quote.]&lt;BR /&gt;&lt;BR /&gt;That information is both correct and (at least implicitly) complete, but you will have to read/interpret it very carefully to understand the full implications.&lt;BR /&gt;&lt;BR /&gt;However reading your requirements, I think that a chroot()-ed environment is an overkill.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Nov 2001 12:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rksh/m-p/2607785#M35401</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-11-06T12:57:46Z</dc:date>
    </item>
  </channel>
</rss>

