<?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 issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760504#M785263</link>
    <description>Ashok --&lt;BR /&gt;&lt;BR /&gt;Check the /etc/inetd.conf file settings as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Mar 2006 10:57:54 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2006-03-28T10:57:54Z</dc:date>
    <item>
      <title>umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760499#M785258</link>
      <description>I am having two servers SERVER1 and SERVER2 with hp-ux 11.11.&lt;BR /&gt;If i do a telnet to each of these servers from my pc and then check the umask it showing as 022.But if i do a telnet from SERVER1 to SERVER2 or vice-versa and then check the umask it is showing as 077 and whatever files i create , it is created with a umask 0f 077. If i do a ssh between these servers it is showing the original umask of 022.&lt;BR /&gt;I don't understand why telnet is showing a different umask.&lt;BR /&gt;&lt;BR /&gt;All suggestions will be appreciated</description>
      <pubDate>Tue, 28 Mar 2006 10:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760499#M785258</guid>
      <dc:creator>ashok babu</dc:creator>
      <dc:date>2006-03-28T10:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760500#M785259</link>
      <description>Ashok,&lt;BR /&gt;&lt;BR /&gt;Just to confirm, you are logging in as the same user while logging in from your pc as you are using from server1 to server2 or vice-versa ? Because the umask will be defined in /etc/profile and can be defined in the user's .profile in user's home directory. So if you are logging in as same userid then ideally you shouldnt get this problem. &lt;BR /&gt;Try id and pwd after logging in on both the servers - is home directory created on both servers for the user ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Tue, 28 Mar 2006 10:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760500#M785259</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-03-28T10:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760501#M785260</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;When you telnet from one server to another your umask is normally set by /etc/profile .profile or other scripts.&lt;BR /&gt;&lt;BR /&gt;ssh can be set in ssh_config or sshd_config to not read the environment on the host it connects to.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 28 Mar 2006 10:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760501#M785260</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-28T10:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760502#M785261</link>
      <description>Hi,&lt;BR /&gt;   The umask is not defined in /etc/profile or $HOME/.profile .&lt;BR /&gt;It is defined in /sbin/rc script on both the servers</description>
      <pubDate>Tue, 28 Mar 2006 10:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760502#M785261</guid>
      <dc:creator>ashok babu</dc:creator>
      <dc:date>2006-03-28T10:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760503#M785262</link>
      <description>Ashok,&lt;BR /&gt;&lt;BR /&gt;umask is basically valid for your login - so it has to be defined somewhere in the process of logging in - and thats where /etc/profile and $HOME/.profile come into picture.&lt;BR /&gt;Can you try setting the following to /etc/profile or the user profile in say server1 &lt;BR /&gt;&lt;BR /&gt;umask 022&lt;BR /&gt;&lt;BR /&gt;and then try relogging (you need to login afresh, then only the umask setting will take effect for the new login) in to server1 from server2 and see if the problem exists.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Tue, 28 Mar 2006 10:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760503#M785262</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-03-28T10:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760504#M785263</link>
      <description>Ashok --&lt;BR /&gt;&lt;BR /&gt;Check the /etc/inetd.conf file settings as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Mar 2006 10:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760504#M785263</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-03-28T10:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760505#M785264</link>
      <description>Oops.. skip that last note.  That's only for FTP that we can mask it in /etc/inetd.conf.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Mar 2006 10:58:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760505#M785264</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-03-28T10:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760506#M785265</link>
      <description>The complete list of files where this permission is general overridden:&lt;BR /&gt;&lt;BR /&gt;For posix shell users:&lt;BR /&gt;  /etc/profile  $HOME/.profile  /etc/skel/.profile&lt;BR /&gt;For c shell users:&lt;BR /&gt;  /etc/csh.login  $HOME/.login  $HOME/.cshrc&lt;BR /&gt;For telnet user:&lt;BR /&gt;  /etc/profile  $HOME/.profile&lt;BR /&gt;For vue user:&lt;BR /&gt;  $HOME/.vueprofile /usr/lib/X11/vue/Vuelogin/Xsession&lt;BR /&gt;  /usr/vue/config/sys.vueprofile&lt;BR /&gt;For cde user&lt;BR /&gt;  $HOME/.dtprofile  /usr/dt/config/sys.dtprofile&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Mar 2006 11:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760506#M785265</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-03-28T11:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760507#M785266</link>
      <description>Hi,&lt;BR /&gt;  If i am specifying the umask as 022 in my .profile and then logging in using telnet,it is showing the umask as 022 only.&lt;BR /&gt;&lt;BR /&gt;But wondering from where telnet is showing the umask as 077 if i am not specifying it explicitly in my .profile or /etc/profile&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 02:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760507#M785266</guid>
      <dc:creator>ashok babu</dc:creator>
      <dc:date>2006-03-29T02:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760508#M785267</link>
      <description>Are you completed the patch update? &lt;BR /&gt;Are you using the same user account? telnet is not able to change the umask settings.&lt;BR /&gt;&lt;BR /&gt;Is there anything in the startup script(s)? Search as,&lt;BR /&gt;&lt;BR /&gt;# grep 'umask 077' /sbin/init.d/*&lt;BR /&gt;&lt;BR /&gt;Some thing is strange in telnet related configuration files. Remove umask related setting in /etc/profile or $HOME/.profile files. Is there any subsidery scirpt files to do umask in that profile files.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 29 Mar 2006 03:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760508#M785267</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-03-29T03:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: umask issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760509#M785268</link>
      <description>Ashok,&lt;BR /&gt;&lt;BR /&gt;Is there any other .kshrc or .cshrc file in your home directory ? you can grep for umask in all the .xyz files in your home directoy.&lt;BR /&gt;cd $HOME&lt;BR /&gt;ls -al  will show you all files (files starting with . are not shown without the -a option)&lt;BR /&gt;Then grep in these files.&lt;BR /&gt;&lt;BR /&gt;As I mentioned earlier - the umask setting is valid or relevant to per login session. Are there any startup scripts for ssh ? other than /etc/profile and $HOME/.profile - then it may have been declared in those files. I do not know much on ssh.&lt;BR /&gt;&lt;BR /&gt;Let know the outcome.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Sat, 01 Apr 2006 06:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask-issue/m-p/3760509#M785268</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-04-01T06:22:58Z</dc:date>
    </item>
  </channel>
</rss>

