<?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 permission issue afetr trusted system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507407#M477997</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a setup wherein am using remsh from one box to another.&lt;/P&gt;&lt;P&gt;as soon as i converted box a and box b trusted ,&lt;/P&gt;&lt;P&gt;the file getting generated on box b using remsh from box a has only 600 permissions.&lt;/P&gt;&lt;P&gt;I tried setting umask 017 in both boxes /etc/profile but o/p still the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions needed .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2012 04:59:11 GMT</pubDate>
    <dc:creator>zxcv</dc:creator>
    <dc:date>2012-01-25T04:59:11Z</dc:date>
    <item>
      <title>permission issue afetr trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507407#M477997</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a setup wherein am using remsh from one box to another.&lt;/P&gt;&lt;P&gt;as soon as i converted box a and box b trusted ,&lt;/P&gt;&lt;P&gt;the file getting generated on box b using remsh from box a has only 600 permissions.&lt;/P&gt;&lt;P&gt;I tried setting umask 017 in both boxes /etc/profile but o/p still the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions needed .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 04:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507407#M477997</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2012-01-25T04:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507467#M477998</link>
      <description>&lt;P&gt;&amp;gt;the file getting generated on box b using remsh from box a has only 600 permissions.&lt;/P&gt;&lt;P&gt;&amp;gt;I tried setting umask 017 in both boxes /etc/profile but output still the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;umask permissions for remsh probably come from inetd(1m) and not /etc/profile.&lt;/P&gt;&lt;P&gt;Have you looked in /etc/rc.config.d/* or /etc/inetd.conf?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if it comes from inetd(1m), you will need to restart that demon with:&lt;/P&gt;&lt;P&gt;inetd -k&lt;/P&gt;&lt;P&gt;inetd&lt;/P&gt;&lt;P&gt;Or maybe better:&lt;/P&gt;&lt;P&gt;/sbin/init.d/inetd stop&lt;/P&gt;&lt;P&gt;/sbin/init.d/inetd start&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 06:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507467#M477998</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-25T06:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507553#M478000</link>
      <description>&lt;P&gt;Hi Dennis ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In /etc/inetd.conf i have ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kshell stream tcp nowait root /usr/lbin/remshd remshd -K&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where am i supposed to make that umask entry ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 07:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507553#M478000</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2012-01-25T07:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507683#M478005</link>
      <description>&lt;P&gt;Hi Dennis ,&lt;/P&gt;&lt;P&gt;I am using both ssh and remsh.&lt;/P&gt;&lt;P&gt;for remsh i found its /etc/default/security&lt;/P&gt;&lt;P&gt;for ssh i think should be sshd_config file right ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:07:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507683#M478005</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2012-01-25T09:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507695#M478006</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;man inetd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Internet daemon and the servers it starts inherit the LANG and TZ environment variables and the umask of the process that started inetd. If inetd is started by the superuser, it inherits the superuser's&lt;BR /&gt;umask, and passes that umask to the servers it starts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# umask 017&lt;/P&gt;&lt;P&gt;# inetd -k&lt;/P&gt;&lt;P&gt;# inietd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verify 'umask' entry in /sbin/init.d/inetd file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:20:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507695#M478006</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2012-01-25T09:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507707#M478007</link>
      <description>&lt;P&gt;&amp;gt;for ssh I think should be sshd_config file right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, that's what I saw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;Verify 'umask' entry in /sbin/init.d/inetd file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a untrusted system, I saw it set to 000.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:29:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507707#M478007</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-25T09:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507715#M478008</link>
      <description>&lt;P&gt;&amp;nbsp;Hi Rariasn,&lt;/P&gt;&lt;P&gt;I tried after editing that entry in /sbin/init.d/inetd but still the same permissions .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;box A contains ssh passwordless script which logins to box B ( trusted ) and creates file of 600 permissions , i want it to be 644.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507715#M478008</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2012-01-25T09:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507717#M478009</link>
      <description>&lt;P&gt;Hi Dennis ,&lt;/P&gt;&lt;P&gt;Then what entry to be edited in sshd_config related to umask.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507717#M478009</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2012-01-25T09:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507729#M478010</link>
      <description>&lt;P&gt;&amp;gt;Then what entry to be edited in sshd_config related to umask.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oops, wrong file.&amp;nbsp; There is SftpUmask in /opt/ssh/etc/sshd_config.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my file was /etc/rc.config.d/sshd:&lt;/P&gt;&lt;P&gt;There should be a variable with UMASK in it:&lt;/P&gt;&lt;P&gt;SSHD_UMASK=000 # The acceptable values of ...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 22:26:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507729#M478010</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-01-25T22:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507731#M478011</link>
      <description>&lt;P&gt;Hi Dennis ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No entry with UMASK variable.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:54:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507731#M478011</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2012-01-25T09:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507951#M478023</link>
      <description>&lt;P&gt;Am I missing something here? Why don't you just alter your script to set umask on box B explicitly right before you create the file? Or just chmod it after you created it?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 10:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507951#M478023</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2012-01-25T10:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: permission issue after trusted system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507995#M478024</link>
      <description>&lt;P&gt;Hi Duncan ,&lt;/P&gt;&lt;P&gt;You were spot on .&lt;/P&gt;&lt;P&gt;I just edited that script to add umask line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2012 11:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permission-issue-afetr-trusted-system/m-p/5507995#M478024</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2012-01-25T11:11:11Z</dc:date>
    </item>
  </channel>
</rss>

