<?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: setting variables in profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553989#M370904</link>
    <description>Sorry,&lt;BR /&gt;&lt;BR /&gt;umask is the inverse of the permission bits that you want to be set. For example:&lt;BR /&gt;&lt;BR /&gt;              Permissions&lt;BR /&gt;      umask  (file/directory)&lt;BR /&gt;      -----  -------------------&lt;BR /&gt;       000   rw-rw-rw-/rwxrwxrwx&lt;BR /&gt;       002   rw-rw-r--/rwxrwxr-x&lt;BR /&gt;       022   rw-r--r--/rwxr-xr-x&lt;BR /&gt;       027   rw-r-----/rwxr-x---&lt;BR /&gt;       077   rw-r-----/rwx------&lt;BR /&gt;&lt;BR /&gt;Sample user profile:&lt;BR /&gt;&lt;BR /&gt;# @(#)B.11.11_LR&lt;BR /&gt;&lt;BR /&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;        stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;        PATH=$PATH:.&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;        set -u&lt;BR /&gt;        trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;# Set up shell variables:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        PS1="$(hostname):\$PWD\$"&lt;BR /&gt;        export PS1&lt;BR /&gt;&lt;BR /&gt;umask 077&lt;BR /&gt;umask&lt;BR /&gt;&lt;BR /&gt;rgs,</description>
    <pubDate>Tue, 22 Dec 2009 11:29:38 GMT</pubDate>
    <dc:creator>rariasn</dc:creator>
    <dc:date>2009-12-22T11:29:38Z</dc:date>
    <item>
      <title>setting variables in profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553986#M370901</link>
      <description>i need to set the umask value to 077 permanently for a particular user,, edited the profile in home dir and changed to umask 077 ,,, but its not working,, &lt;BR /&gt;&lt;BR /&gt;do i need to change something else</description>
      <pubDate>Tue, 22 Dec 2009 11:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553986#M370901</guid>
      <dc:creator>madhudeepan</dc:creator>
      <dc:date>2009-12-22T11:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553987#M370902</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Put "umask 002"&lt;BR /&gt;&lt;BR /&gt;rgs</description>
      <pubDate>Tue, 22 Dec 2009 11:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553987#M370902</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2009-12-22T11:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553988#M370903</link>
      <description>I'm tempted to just suggest that you read the man page, but first, let's ask what it is you're trying to accomplish with this setting.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 22 Dec 2009 11:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553988#M370903</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-12-22T11:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553989#M370904</link>
      <description>Sorry,&lt;BR /&gt;&lt;BR /&gt;umask is the inverse of the permission bits that you want to be set. For example:&lt;BR /&gt;&lt;BR /&gt;              Permissions&lt;BR /&gt;      umask  (file/directory)&lt;BR /&gt;      -----  -------------------&lt;BR /&gt;       000   rw-rw-rw-/rwxrwxrwx&lt;BR /&gt;       002   rw-rw-r--/rwxrwxr-x&lt;BR /&gt;       022   rw-r--r--/rwxr-xr-x&lt;BR /&gt;       027   rw-r-----/rwxr-x---&lt;BR /&gt;       077   rw-r-----/rwx------&lt;BR /&gt;&lt;BR /&gt;Sample user profile:&lt;BR /&gt;&lt;BR /&gt;# @(#)B.11.11_LR&lt;BR /&gt;&lt;BR /&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;        stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;        stty hupcl ixon ixoff&lt;BR /&gt;        tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;        PATH=$PATH:.&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;        set -u&lt;BR /&gt;        trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt;        EDITOR=vi&lt;BR /&gt;        export EDITOR&lt;BR /&gt;&lt;BR /&gt;# Set up shell variables:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        PS1="$(hostname):\$PWD\$"&lt;BR /&gt;        export PS1&lt;BR /&gt;&lt;BR /&gt;umask 077&lt;BR /&gt;umask&lt;BR /&gt;&lt;BR /&gt;rgs,</description>
      <pubDate>Tue, 22 Dec 2009 11:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553989#M370904</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2009-12-22T11:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553990#M370905</link>
      <description>&amp;gt;but it's not working, do I need to change something else&lt;BR /&gt;&lt;BR /&gt;Not working how?  You do need to re-login or source your .profile.</description>
      <pubDate>Tue, 22 Dec 2009 14:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-variables-in-profile/m-p/4553990#M370905</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-22T14:38:50Z</dc:date>
    </item>
  </channel>
</rss>

