<?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 User Environment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317060#M340249</link>
    <description>i have already created ftp user who has rights only in his ftp home. (chroot env for that ftp user). workaround was to create ftp user and cron a script who will update ftp home with logs from /opt/app/log. but problem is log directory size. its getting bigger and bigger. just one week logs are more than 500 MBs.&lt;BR /&gt;&lt;BR /&gt;if i make logs directory as home to ftp user, i'll have to change the permissions of logs directory that will affect the application itself in return.&lt;BR /&gt;&lt;BR /&gt;i think i could type what i am thinking. your replies will make me understand if i could explain my problem well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Dec 2008 12:15:47 GMT</pubDate>
    <dc:creator>Muhammad Asghar_1</dc:creator>
    <dc:date>2008-12-03T12:15:47Z</dc:date>
    <item>
      <title>Restricted User Environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317057#M340246</link>
      <description>Dears,&lt;BR /&gt;i have an application whose logs are being collected in /opt/app/log.&lt;BR /&gt;&lt;BR /&gt;i want to create a user who would have permissions only for /opt/app/log directory and must not be able to wander and execute system commands else where in the system. In /opt/app/log he should have only read access. &lt;BR /&gt;&lt;BR /&gt;my OS is hp-ux v2 and hardware is pa risc.&lt;BR /&gt;&lt;BR /&gt;please accept thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asghar</description>
      <pubDate>Wed, 03 Dec 2008 11:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317057#M340246</guid>
      <dc:creator>Muhammad Asghar_1</dc:creator>
      <dc:date>2008-12-03T11:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted User Environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317058#M340247</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;you should set up a chrooted user for this purpose. Here is a document that might provide you with some hints on how to do it:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=115&amp;amp;prodSeriesId=3215373&amp;amp;prodTypeId=18964&amp;amp;objectID=c01516983" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=115&amp;amp;prodSeriesId=3215373&amp;amp;prodTypeId=18964&amp;amp;objectID=c01516983&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jozef&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Dec 2008 11:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317058#M340247</guid>
      <dc:creator>Jozef_Novak</dc:creator>
      <dc:date>2008-12-03T11:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted User Environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317059#M340248</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;my idea if u want to give permission to readonly for that file means&lt;BR /&gt;&lt;BR /&gt;u can create a shell script or add an entry to the cron ta for appending those log to the particular user's file&lt;BR /&gt;for example&lt;BR /&gt;1.create a directory in the user's home directory&lt;BR /&gt;2.then create numer of files equal to the numer of files in that log directory&lt;BR /&gt;3. then create a script so that the content of a paticular file wil get redirected to that user file&lt;BR /&gt;cat logfile1 &amp;gt; (equalent file in that user directory)&lt;BR /&gt;4.similarly for all files&lt;BR /&gt;&lt;BR /&gt;5.add this script in cronta so that the user file get updated in regular intervals&lt;BR /&gt;so that the user can read that log file.&lt;BR /&gt;&lt;BR /&gt;thank u</description>
      <pubDate>Wed, 03 Dec 2008 11:53:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317059#M340248</guid>
      <dc:creator>saravanan08</dc:creator>
      <dc:date>2008-12-03T11:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted User Environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317060#M340249</link>
      <description>i have already created ftp user who has rights only in his ftp home. (chroot env for that ftp user). workaround was to create ftp user and cron a script who will update ftp home with logs from /opt/app/log. but problem is log directory size. its getting bigger and bigger. just one week logs are more than 500 MBs.&lt;BR /&gt;&lt;BR /&gt;if i make logs directory as home to ftp user, i'll have to change the permissions of logs directory that will affect the application itself in return.&lt;BR /&gt;&lt;BR /&gt;i think i could type what i am thinking. your replies will make me understand if i could explain my problem well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Dec 2008 12:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317060#M340249</guid>
      <dc:creator>Muhammad Asghar_1</dc:creator>
      <dc:date>2008-12-03T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restricted User Environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317061#M340250</link>
      <description>If it is just for accessing logs in that directory, I think you should use NFS (if the remote user in on linux or unix) or CIFS/samba (if the remote user is on windows).&lt;BR /&gt;&lt;BR /&gt;This way, the user can find the (read-only if you want) on his/her local machine and has no option of walking around elsewhere in any way.</description>
      <pubDate>Wed, 03 Dec 2008 12:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restricted-user-environment/m-p/4317061#M340250</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2008-12-03T12:24:00Z</dc:date>
    </item>
  </channel>
</rss>

