<?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 difference between login and su - in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093140#M145359</link>
    <description>I tried the command you supplied Steven, and it didn't bring to light anything that I didn't already know.  This is a trusted system.  Would a umask be set somewhere else other than the standard places?</description>
    <pubDate>Tue, 14 Oct 2003 15:06:26 GMT</pubDate>
    <dc:creator>Mike Kuhar</dc:creator>
    <dc:date>2003-10-14T15:06:26Z</dc:date>
    <item>
      <title>umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093135#M145354</link>
      <description>When a user logs in as oracle, the umask setting is 7077.  If the user is logged in as himself and su - oracle, the umask is 022.  Any have any idea why?</description>
      <pubDate>Tue, 14 Oct 2003 14:29:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093135#M145354</guid>
      <dc:creator>Mike Kuhar</dc:creator>
      <dc:date>2003-10-14T14:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093136#M145355</link>
      <description>Yes.&lt;BR /&gt; &lt;BR /&gt;It is being set by the .profile file for user oracle, or in one of the configuration files that .profile reads.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Oct 2003 14:42:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093136#M145355</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-14T14:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093137#M145356</link>
      <description>Hello Mike,&lt;BR /&gt;&lt;BR /&gt;I don't understand completely what you're trying to say. Is it: If you're , for example, logged in as root and then do a "su - oracle" the umask is going to be different than when you log in as oracle? It should be the same.&lt;BR /&gt;&lt;BR /&gt;Check the user .profile.  Maybe there's a line in there specifying the umask.&lt;BR /&gt;&lt;BR /&gt;Jorge</description>
      <pubDate>Tue, 14 Oct 2003 14:43:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093137#M145356</guid>
      <dc:creator>Jorge Fabregas</dc:creator>
      <dc:date>2003-10-14T14:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093138#M145357</link>
      <description>Apologies for my earlier response:&lt;BR /&gt; &lt;BR /&gt;find /home -exec grep -li 'umask' {} \;&lt;BR /&gt; &lt;BR /&gt;umask is getting set somewhere, you need to trace in and figure out where its being set. Also check /etc/profile&lt;BR /&gt; &lt;BR /&gt;I bet there is a conflict between .profile or something in the chain and /etc/profile&lt;BR /&gt; &lt;BR /&gt;su - is supposed to load the SAME environment as a straight login.&lt;BR /&gt; &lt;BR /&gt;su without the dash does not load the environment or umask settings.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Oct 2003 14:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093138#M145357</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-14T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093139#M145358</link>
      <description>I was under the impression that .profile was read when you 'su -' into that user.  According to the man page, "If the - option is specified, the new shell starts up as if the user had initiated a new login session."  What am I missing?</description>
      <pubDate>Tue, 14 Oct 2003 14:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093139#M145358</guid>
      <dc:creator>Mike Kuhar</dc:creator>
      <dc:date>2003-10-14T14:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093140#M145359</link>
      <description>I tried the command you supplied Steven, and it didn't bring to light anything that I didn't already know.  This is a trusted system.  Would a umask be set somewhere else other than the standard places?</description>
      <pubDate>Tue, 14 Oct 2003 15:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093140#M145359</guid>
      <dc:creator>Mike Kuhar</dc:creator>
      <dc:date>2003-10-14T15:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093141#M145360</link>
      <description>If you are using bourne /ksh check&lt;BR /&gt;&lt;BR /&gt;/etc/profile --system wide file&lt;BR /&gt;.profile-placed in users home dir &lt;BR /&gt;&lt;BR /&gt;Also check any script placed inside these files.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Oct 2003 23:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093141#M145360</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-10-14T23:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093142#M145361</link>
      <description>If we are talking about 11.00 then you should install Patch PHKL_23226 (replaced by PHKL_29434). &lt;BR /&gt; &lt;BR /&gt;PHKL_23226:&lt;BR /&gt;( SR: 8606175710 CR: JAGad44950 )&lt;BR /&gt;umask(1) may incorrectly set file permission bits.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2003 02:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093142#M145361</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-10-15T02:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093143#M145362</link>
      <description>Another question.  Do your users happen to log in using "X" i.e. do they get a graphical login but then run an *term in order to "su -".  If this is the case, then none of the normal shell initialization files get run by default and you are would need to start looking at X configuration files instead.  One more thing, if you set a umask and "su -" to an account that doesn't have one set, you keep your umask.</description>
      <pubDate>Wed, 15 Oct 2003 02:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093143#M145362</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-10-15T02:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093144#M145363</link>
      <description>BTW, why I believe this to be not a scripting but a kernel problem... &lt;BR /&gt; &lt;BR /&gt;# umask 7077&lt;BR /&gt;sh: umask: The specified number is not valid for this command.&lt;BR /&gt; &lt;BR /&gt;7077 is an illegal umask. You cannot set that from user land. :-)&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Wed, 15 Oct 2003 02:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093144#M145363</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-10-15T02:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093145#M145364</link>
      <description>Thanks Dietmar.  I'm sure that's the problem.  I couldn't find, anywhere, where this umask was being set.  As  temporary fix, can I just set umask to 022 in Oracle's .profile?</description>
      <pubDate>Wed, 15 Oct 2003 08:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093145#M145364</guid>
      <dc:creator>Mike Kuhar</dc:creator>
      <dc:date>2003-10-15T08:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093146#M145365</link>
      <description>Of course you can. But take care to install that patch to get the root cause fixed.</description>
      <pubDate>Wed, 15 Oct 2003 10:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093146#M145365</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-10-15T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093147#M145366</link>
      <description>Thanks Dietmar.  Will do.  This is just a temp fix until I get a window to do some major patching of the system.  Thanks again.</description>
      <pubDate>Wed, 15 Oct 2003 10:48:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093147#M145366</guid>
      <dc:creator>Mike Kuhar</dc:creator>
      <dc:date>2003-10-15T10:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093148#M145367</link>
      <description>This error could be verified when there is installed suidperl. Confused with umask 077.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2003 11:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093148#M145367</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2003-10-15T11:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: umask difference between login and su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093149#M145368</link>
      <description>Hi Mike,&lt;BR /&gt;&lt;BR /&gt;Check and see if the umash is being set using .profile or some other script. If it is being set using .profile then it should be set to the required umash setting when you do a su - user.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Oct 2003 11:54:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-difference-between-login-and-su/m-p/3093149#M145368</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2003-10-15T11:54:14Z</dc:date>
    </item>
  </channel>
</rss>

