<?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: Restricted shell and read access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950247#M290122</link>
    <description>*cough* sorry.. restricted shell. Read/posted too speedily. My apologies.</description>
    <pubDate>Fri, 23 Feb 2007 09:04:06 GMT</pubDate>
    <dc:creator>Wouter Jagers</dc:creator>
    <dc:date>2007-02-23T09:04:06Z</dc:date>
    <item>
      <title>Restricted shell and read access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950244#M290119</link>
      <description>How can i give user read access when that particular user has restricted shell?&lt;BR /&gt;User cannot do cd to that particular path</description>
      <pubDate>Fri, 23 Feb 2007 08:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950244#M290119</guid>
      <dc:creator>pratham</dc:creator>
      <dc:date>2007-02-23T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell and read access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950245#M290120</link>
      <description>In order to be able to cd to a particular path, the user should have execute permission on the directory.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950245#M290120</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-02-23T08:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell and read access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950246#M290121</link>
      <description>Hi,&lt;BR /&gt;either you copy the file for the user &lt;BR /&gt;or&lt;BR /&gt;re-create the cd command for the user, as (by JRF):&lt;BR /&gt;"The restricted shell environment presumes that the commands you want a user to be able to execute are available in his/her PATH. In particular, a user cannot specify a command with '/' at its beginning, 'cd' to a directory; nor can they set their PATH variable."&lt;BR /&gt;or&lt;BR /&gt;remove the user from the restricted shell into a 'normal' shell.&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Feb 2007 08:08:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950246#M290121</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-23T08:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell and read access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950247#M290122</link>
      <description>*cough* sorry.. restricted shell. Read/posted too speedily. My apologies.</description>
      <pubDate>Fri, 23 Feb 2007 09:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950247#M290122</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-02-23T09:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell and read access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950248#M290123</link>
      <description>Restricted shell (ie, rksh or rsh) means that the user has a different / or root directory. When the user logs in, the restricted shell runs chroot (see man page) to change the user's root directory to their $HOME directory. Therefore, nothing outside of the $HOME directory is visible and therefore impossible to access.&lt;BR /&gt; &lt;BR /&gt;That is one of the reasons the restricted shell is not used a lot -- it is too restrictive. The only workaround is to replace the user's shell with a script that has a menu. The menu limits the commands allowed for each user and prevents exiting to a shell prompt.</description>
      <pubDate>Fri, 23 Feb 2007 11:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950248#M290123</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-23T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted shell and read access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950249#M290124</link>
      <description>It is not necessary to cd to a directory to be able to read a file there.&lt;BR /&gt;&lt;BR /&gt;$ cd /tmp&lt;BR /&gt;rsh: cd: The operation is not allowed in a restricted shell.&lt;BR /&gt;$ ll /tmp/hello&lt;BR /&gt;-rw-rw-rw-   1 root       sys             16 Feb 23 08:59 /tmp/hello&lt;BR /&gt;$ cat /tmp/hello&lt;BR /&gt;Hell, Oh World!&lt;BR /&gt;$ &lt;BR /&gt;</description>
      <pubDate>Fri, 23 Feb 2007 12:02:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-shell-and-read-access/m-p/3950249#M290124</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2007-02-23T12:02:02Z</dc:date>
    </item>
  </channel>
</rss>

