<?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 SU behavior in 11.31 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-behavior-in-11-31/m-p/4645145#M379765</link>
    <description>Before opening a case with HP support, thought I'd ask the collective if they've noticed, or can explain, the following behavior:&lt;BR /&gt;&lt;BR /&gt;On HPUX 11.11 and 11.23, I using "su" to change users preserves the umask setting.  Note I am *not* using the "su -" option, on purpose.&lt;BR /&gt;&lt;BR /&gt;# umask&lt;BR /&gt;022&lt;BR /&gt;# su {anyotheruser}&lt;BR /&gt;$ umask&lt;BR /&gt;022&lt;BR /&gt;&lt;BR /&gt;On HPUX 11.31 - it's working differently.&lt;BR /&gt;&lt;BR /&gt;# umask&lt;BR /&gt;022&lt;BR /&gt;# su {anyotheruser}&lt;BR /&gt;$ umask&lt;BR /&gt;077&lt;BR /&gt;&lt;BR /&gt;!?!??!?  It seems the behavior of SU has changed in 11.31, but I cannot find a bit of documentation on this.  Heck, maybe it's a bug?&lt;BR /&gt;&lt;BR /&gt;/etc/profile is consistent across all machines, as well as root's .profile, and the {anyotheruser}'s .profile.&lt;BR /&gt;&lt;BR /&gt;I'm hoping you all are seeing the same behavior on your 11.31 machines.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Wed, 09 Jun 2010 13:34:27 GMT</pubDate>
    <dc:creator>Eric Yruegas</dc:creator>
    <dc:date>2010-06-09T13:34:27Z</dc:date>
    <item>
      <title>SU behavior in 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-behavior-in-11-31/m-p/4645145#M379765</link>
      <description>Before opening a case with HP support, thought I'd ask the collective if they've noticed, or can explain, the following behavior:&lt;BR /&gt;&lt;BR /&gt;On HPUX 11.11 and 11.23, I using "su" to change users preserves the umask setting.  Note I am *not* using the "su -" option, on purpose.&lt;BR /&gt;&lt;BR /&gt;# umask&lt;BR /&gt;022&lt;BR /&gt;# su {anyotheruser}&lt;BR /&gt;$ umask&lt;BR /&gt;022&lt;BR /&gt;&lt;BR /&gt;On HPUX 11.31 - it's working differently.&lt;BR /&gt;&lt;BR /&gt;# umask&lt;BR /&gt;022&lt;BR /&gt;# su {anyotheruser}&lt;BR /&gt;$ umask&lt;BR /&gt;077&lt;BR /&gt;&lt;BR /&gt;!?!??!?  It seems the behavior of SU has changed in 11.31, but I cannot find a bit of documentation on this.  Heck, maybe it's a bug?&lt;BR /&gt;&lt;BR /&gt;/etc/profile is consistent across all machines, as well as root's .profile, and the {anyotheruser}'s .profile.&lt;BR /&gt;&lt;BR /&gt;I'm hoping you all are seeing the same behavior on your 11.31 machines.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 09 Jun 2010 13:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-behavior-in-11-31/m-p/4645145#M379765</guid>
      <dc:creator>Eric Yruegas</dc:creator>
      <dc:date>2010-06-09T13:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: SU behavior in 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-behavior-in-11-31/m-p/4645146#M379766</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;If you are certain that no profiles are&lt;BR /&gt;involved, then maybe this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=ttr_na-SSB_1000940876" target="_blank"&gt;http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=ttr_na-SSB_1000940876&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Title: "su" should not modify the umask; "su -" should modify umask like login on 11i v3&lt;BR /&gt;&lt;BR /&gt;PHCO_39370  090903  'su cumulative patch'&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 09 Jun 2010 22:07:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-behavior-in-11-31/m-p/4645146#M379766</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2010-06-09T22:07:58Z</dc:date>
    </item>
  </channel>
</rss>

