<?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 Restricing users to certain directories in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531879#M758657</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a number of users to log in to our HP-UX 11.00 systems to analyze log files. They only need to be able to read (not edit) the files in one directory. Can this be forced?&lt;BR /&gt;I was thinking of setting there home directory to the logdir, and then somehow disabling the cd command.&lt;BR /&gt;Does anyone know how to do this or maybe have better ideas on how to accomplish.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Kevin</description>
    <pubDate>Wed, 23 May 2001 12:23:34 GMT</pubDate>
    <dc:creator>Kevin Moore_2</dc:creator>
    <dc:date>2001-05-23T12:23:34Z</dc:date>
    <item>
      <title>Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531879#M758657</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a number of users to log in to our HP-UX 11.00 systems to analyze log files. They only need to be able to read (not edit) the files in one directory. Can this be forced?&lt;BR /&gt;I was thinking of setting there home directory to the logdir, and then somehow disabling the cd command.&lt;BR /&gt;Does anyone know how to do this or maybe have better ideas on how to accomplish.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Kevin</description>
      <pubDate>Wed, 23 May 2001 12:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531879#M758657</guid>
      <dc:creator>Kevin Moore_2</dc:creator>
      <dc:date>2001-05-23T12:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531880#M758658</link>
      <description>&lt;BR /&gt;use the restricted shell (rsh), this disables the cd command completely. See man page on sh-posix for section on rsh&lt;BR /&gt;</description>
      <pubDate>Wed, 23 May 2001 12:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531880#M758658</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-05-23T12:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531881#M758659</link>
      <description>yep, rsh is nice, but if the user is able to start another shell, then he's back free to go wherever he wants.&lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 23 May 2001 12:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531881#M758659</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-05-23T12:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531882#M758660</link>
      <description>Thanks Stefan,&lt;BR /&gt;&lt;BR /&gt;rsh is a good start, but the users have a fair idea of whats going around. They can still view files using more /whatever/file.xxx&lt;BR /&gt;It would be an impossible job to try and change permissions on all the files.&lt;BR /&gt;What I am looking to do exactly, is let them view files in one directory, and nowhere else. I don't even want them to be able to ls&lt;BR /&gt;I know it's probably a huge task, just looking for a place to start.&lt;BR /&gt;I was originally thinking of using FMLI, but my HP TAM says it is not available on HP-UX&lt;BR /&gt;&lt;BR /&gt;Kevin</description>
      <pubDate>Wed, 23 May 2001 12:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531882#M758660</guid>
      <dc:creator>Kevin Moore_2</dc:creator>
      <dc:date>2001-05-23T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531883#M758661</link>
      <description>&lt;BR /&gt;Instead of using rsh you can accomplish what you want simply with permissions. With the directory and files set to read only there is no way someone will be able to modify them.</description>
      <pubDate>Wed, 23 May 2001 12:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531883#M758661</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-05-23T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531884#M758662</link>
      <description>None of the above solutions are perfect.&lt;BR /&gt;&lt;BR /&gt;The only real way of doing this is to force the user into a restricted chrooted environment.&lt;BR /&gt;&lt;BR /&gt;This can be done coding a login shell which chroot's the user to the area.&lt;BR /&gt;&lt;BR /&gt;Or, the easiest way is to do it via FTP and ftpaccess - this means the users will only be able to FTP in, but you can restrict them easily.&lt;BR /&gt;&lt;BR /&gt;FOr more details on this check the ftpaccess man page</description>
      <pubDate>Wed, 23 May 2001 16:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531884#M758662</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2001-05-23T16:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531885#M758663</link>
      <description>Could you achieve your goal with their profile set to root to the log directory and then the shell they receive be the rsh? something like a passwd entry of &lt;BR /&gt;&lt;BR /&gt;usera:x:uid:gid:comment:/logdir:/usr/bin/rsh&lt;BR /&gt;&lt;BR /&gt;presupposes you are not using NIS (or NIS+) if there are multiple UNIX boxes in the domain....</description>
      <pubDate>Thu, 24 May 2001 00:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531885#M758663</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2001-05-24T00:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Restricing users to certain directories</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531886#M758664</link>
      <description>Thanks a million David,&lt;BR /&gt;&lt;BR /&gt;Your suggestion on chroot definetly looks like the right way to go. Don't suppose you know where there is good documentation on this, or an example of what I am try to do, as I haven't been able to find any.&lt;BR /&gt;&lt;BR /&gt;Thanks again for the great idea&lt;BR /&gt;Kevin</description>
      <pubDate>Thu, 24 May 2001 09:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricing-users-to-certain-directories/m-p/2531886#M758664</guid>
      <dc:creator>Kevin Moore_2</dc:creator>
      <dc:date>2001-05-24T09:40:36Z</dc:date>
    </item>
  </channel>
</rss>

