<?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/2855345#M94572</link>
    <description>Chakri,&lt;BR /&gt;&lt;BR /&gt;Short of renaming or removing or changing the permissions on the actual umask command (or perhaps creating an alias for every user that would point to a dummy umask that actually does nothing), you really can't prevent them from using umask.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Mon, 02 Dec 2002 13:34:30 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2002-12-02T13:34:30Z</dc:date>
    <item>
      <title>umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855340#M94567</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;My requirement is like this,&lt;BR /&gt;&lt;BR /&gt;I set umask to 022 in /etc/profile, and this value should not be changed by any user. basically, the system values can be changed by users, but umask value should not change even the user has mentioned some other value in profile.&lt;BR /&gt;&lt;BR /&gt;How to accomplish this&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;chakri&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Dec 2002 13:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855340#M94567</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2002-12-02T13:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855341#M94568</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can't.&lt;BR /&gt;users can override the umask value set by system using umask</description>
      <pubDate>Mon, 02 Dec 2002 13:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855341#M94568</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-12-02T13:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855342#M94569</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's really not possible. Even Pete's solution that I thought to be the only way to do it can't work (or at least it's quite harder) because umask is also a builtin command. So even after renaming /usr/bin/umask, I can still change it.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Mon, 02 Dec 2002 13:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855342#M94569</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-12-02T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855343#M94570</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;perhaps you can set the umask in /etc/profile for all useres, so the user is not able to change this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin</description>
      <pubDate>Mon, 02 Dec 2002 13:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855343#M94570</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-02T13:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855344#M94571</link>
      <description>User can change it at the command line or in his profile, because&lt;BR /&gt;&lt;BR /&gt;first the system profile and then the user profile will get executed, so it'll override system parameters,&lt;BR /&gt;&lt;BR /&gt;the user can change it anytime</description>
      <pubDate>Mon, 02 Dec 2002 13:33:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855344#M94571</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2002-12-02T13:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855345#M94572</link>
      <description>Chakri,&lt;BR /&gt;&lt;BR /&gt;Short of renaming or removing or changing the permissions on the actual umask command (or perhaps creating an alias for every user that would point to a dummy umask that actually does nothing), you really can't prevent them from using umask.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 02 Dec 2002 13:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855345#M94572</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-12-02T13:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855346#M94573</link>
      <description>Yeeeaaaah ... I gave my answer 5 minutes before reading Pete's one ... but I'm speaking about it ! Return to future ...</description>
      <pubDate>Mon, 02 Dec 2002 14:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855346#M94573</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-12-02T14:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855347#M94574</link>
      <description>or can i have a cronjob running on my machine which checks the umask every time for all the users, if any change happens it'll set it to the default umask which is set in /etc/profile</description>
      <pubDate>Tue, 03 Dec 2002 05:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855347#M94574</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2002-12-03T05:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855348#M94575</link>
      <description>The biggest problem you face is where are you going to look to change a users umask. There are a number of places (~user/.profile, ~user/.login) and any little env file they happen to have laying around, and of course if they have shell access, it is a little bit hard stop unless you change the execute permissions for umask itself. I wouldn't do this, as there may be some exexcutable that could attempt to use 'umask' to create files.</description>
      <pubDate>Tue, 03 Dec 2002 05:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855348#M94575</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-12-03T05:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855349#M94576</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I can think of one way to ensure that people who use umask know they shouldn't:&lt;BR /&gt;&lt;BR /&gt;Alias umask to umask -S in the /etc/profile. This way, when somebody tries setting up an umask, he won't be able to.&lt;BR /&gt;Someone who _really_ wants to change his umask is able to, though; he just has to unalias umask...&lt;BR /&gt;&lt;BR /&gt;It's not a very nice solution (root also has to unalias umask if he wants to use it), but it's the only one I can think of...&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Fran??ois-Xavier&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Dec 2002 14:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855349#M94576</guid>
      <dc:creator>F. X. de Montgolfier</dc:creator>
      <dc:date>2002-12-09T14:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855350#M94577</link>
      <description>As correctly noted before, umask(2) cannot be restricted (just the same is true for chmod(2), BTW). However, it may be a good idea to warn users if they own files that are world-writable.&lt;BR /&gt;&lt;BR /&gt;You can easily get a file list with e.g.:&lt;BR /&gt;&lt;BR /&gt;# find / ! -type l -perm -2 | xargs ls -ld&lt;BR /&gt;&lt;BR /&gt;After some filtering it should be easy to send some mails using a conjob, etc.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 09 Dec 2002 16:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/umask/m-p/2855350#M94577</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-12-09T16:01:16Z</dc:date>
    </item>
  </channel>
</rss>

