<?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: umask in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223052#M467211</link>
    <description>Auditor has asked to change umask of below files to 077 so as to make permission of these specified files to 700 (these are some security file)&lt;BR /&gt;Why you bothered about other file?&lt;BR /&gt;Other files should be having permission according to need.&lt;BR /&gt;Umask would set just the value so that any new file created would be having new values.&lt;BR /&gt;Old remains same.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
    <pubDate>Wed, 03 Feb 2010 01:24:27 GMT</pubDate>
    <dc:creator>Kapil Jha</dc:creator>
    <dc:date>2010-02-03T01:24:27Z</dc:date>
    <item>
      <title>umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223051#M467210</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;As of the security reason, the auditors asked to change the umask of the following to 077.&lt;BR /&gt;&lt;BR /&gt;• /etc/profile &lt;BR /&gt;• /etc/csh.login &lt;BR /&gt;• /etc/d.profile &lt;BR /&gt;• /etc/d.login  &lt;BR /&gt;• /etc/default/security&lt;BR /&gt;&lt;BR /&gt;If we change the umask to 077 (To prevent world readable, writable and executable file permissions) what will be the affect for the users in the operation?&lt;BR /&gt;&lt;BR /&gt;May i know if i change the umask to 077, the already created files with umask of 022 can also changes to the permission 077 or else it will only affect the newly created files?&lt;BR /&gt;&lt;BR /&gt;Can anyone suggest me it will be workout for the realtime operations.&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Feb 2010 01:13:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223051#M467210</guid>
      <dc:creator>S.S.</dc:creator>
      <dc:date>2010-02-03T01:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223052#M467211</link>
      <description>Auditor has asked to change umask of below files to 077 so as to make permission of these specified files to 700 (these are some security file)&lt;BR /&gt;Why you bothered about other file?&lt;BR /&gt;Other files should be having permission according to need.&lt;BR /&gt;Umask would set just the value so that any new file created would be having new values.&lt;BR /&gt;Old remains same.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Wed, 03 Feb 2010 01:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223052#M467211</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-02-03T01:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223053#M467212</link>
      <description>If the auditors are requesting "PERMISSION" changes on these files, then you need to understand what they do.&lt;BR /&gt;&lt;BR /&gt;Here is a list of the files you mention from one of my 11.11 systems:&lt;BR /&gt;&lt;BR /&gt;-r--r--r--   1 bin        bin           1974 Sep  1  2005 /etc/csh.login&lt;BR /&gt;lrwxrwxrwt   1 root       sys             16 Aug  5  2003 /etc/d.login -&amp;gt; /etc/skel/.login&lt;BR /&gt;lrwxrwxrwt   1 root       sys             18 Aug  5  2003 /etc/d.profile -&amp;gt; /etc/skel/.profile&lt;BR /&gt;-rw-------   1 root       sys            105 Oct  4  2006 /etc/default/security&lt;BR /&gt;-r--r--r--   1 bin        bin           3106 Jul 19  2006 /etc/profile&lt;BR /&gt;&lt;BR /&gt;Notice that /etc/profile and /etc/csh.login are readable by EVERYONE.  They **MUST** be this way so users can read the files as part of the login process.&lt;BR /&gt;&lt;BR /&gt;The /etc/default/security should be read/write by root, so securing that file is good.&lt;BR /&gt;&lt;BR /&gt;The d.profile and d.login files are links, so permissions are basically moot.&lt;BR /&gt;&lt;BR /&gt;If they are requesting a "UMASK" change for newly created files, that is a different story.&lt;BR /&gt;&lt;BR /&gt;The 'umask' must be set in /etc/profile.  Setting the umask ONLY AFFECTS newly created files and directories.  It does NOT affect files already on the system.&lt;BR /&gt;&lt;BR /&gt;If you have files and/or directories created with a umask of 022 you will have to change those manually.&lt;BR /&gt;&lt;BR /&gt;You could do it with a find command, but you must really be careful about the files you change.  You don't want to inadvertantly change an executable file that needs group/world read and execute.</description>
      <pubDate>Wed, 03 Feb 2010 02:48:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223053#M467212</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-02-03T02:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223054#M467213</link>
      <description>Above mentioned file, You can change the file permissions as your auditor recommendations.&lt;BR /&gt;&lt;BR /&gt;umask -&amp;gt; are configured under /etc/profile for globe under "root"&lt;BR /&gt;&lt;BR /&gt;umake -&amp;gt; values can be set individual for specific user home directory .profile &lt;BR /&gt;&lt;BR /&gt;man umask for more information</description>
      <pubDate>Wed, 03 Feb 2010 03:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223054#M467213</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2010-02-03T03:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223055#M467214</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;Gee, I would push back on this and ask for a verifiable HP reference as there are thousands of O/S files.&lt;BR /&gt;&lt;BR /&gt;What is the problem:  You are putting the O/S into an unknown and uncertified by the manufacturer state if you start changing permissions around.  In short, things might start f'ing up and/or stop working altogether.&lt;BR /&gt;&lt;BR /&gt;O/S file permissions can be checked with the swverify check_permissions command.  This command will compare current settings against patch or application distribution settings found in the SD-UX database.&lt;BR /&gt;&lt;BR /&gt;From this report you can get an idea of how many world writeable files there actually are and then gage any chmod of these permissions.&lt;BR /&gt;&lt;BR /&gt;You might corrupt the O/S if you're not careful and end up reloading the whole O/S.&lt;BR /&gt;&lt;BR /&gt;PS Better have current Ignite and DATA backups before doing anything.  Since DATA resides upon or uses the O/S configuration in every transaction, you may also be putting your DATA into an unknown / uncertified by the manufacturer state.</description>
      <pubDate>Wed, 03 Feb 2010 05:38:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223055#M467214</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-02-03T05:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223056#M467215</link>
      <description>Thank you all for your advice.</description>
      <pubDate>Wed, 03 Feb 2010 07:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223056#M467215</guid>
      <dc:creator>S.S.</dc:creator>
      <dc:date>2010-02-03T07:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223057#M467216</link>
      <description>I would recommend you post this sort of question in the HP-UX/security FORUM.&lt;BR /&gt;&lt;BR /&gt;This is standard security hardening but changeing UMASK in /etc/default/security can effect the way previous user processes and scripts interacted.&lt;BR /&gt;&lt;BR /&gt;This often does not show up until months later.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Feb 2010 14:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/5223057#M467216</guid>
      <dc:creator>WayneHP</dc:creator>
      <dc:date>2010-02-03T14:50:59Z</dc:date>
    </item>
  </channel>
</rss>

