<?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: Stickybit Configuration on HP-UX 11.23 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102974#M312182</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The sticky bit is only needed on the executable.&lt;BR /&gt;&lt;BR /&gt;It is NOT the sticky bit that is set on '/sbin/shutdown'.  It is the 'setuid' bit.&lt;BR /&gt;&lt;BR /&gt;When set, a non-owner of the executable who runs the executable runs it with the same effective user-id as the owner.  For example, if 'shutdown.allow' is configured to allow user "finas" to shutdown a server, then when "finas" runs 'shutdown' his/her effective uid is 'root', because the SETUID bit is set and the executable file is owned by 'root'.&lt;BR /&gt;&lt;BR /&gt;Please see the 'chmod(1)' and 'chmod(2)' manpages for more information.&lt;BR /&gt;&lt;BR /&gt;When you configure '/etc/shutdown.allow' be sure to include 'root' along with your aother users.  For example:&lt;BR /&gt;&lt;BR /&gt;myserver1 root&lt;BR /&gt;myserver1 finas&lt;BR /&gt;&lt;BR /&gt;The manpages for 'shutdown(1M)' document the use of this file, as noted.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;'</description>
    <pubDate>Thu, 15 Nov 2007 07:53:22 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2007-11-15T07:53:22Z</dc:date>
    <item>
      <title>Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102965#M312173</link>
      <description>Dear HP-UX Gurus,&lt;BR /&gt;I heard that our operators can shutdown server by not using our root id. It can behave like the root to shutdown the server by configuring the shutdown file as sticky bit file. but i just don't know how can i do this.. which shutdown file to set? please helppp. Hope to hear from you. Thank you. &lt;BR /&gt;-Finas-</description>
      <pubDate>Thu, 15 Nov 2007 06:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102965#M312173</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2007-11-15T06:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102966#M312174</link>
      <description>&amp;gt;I heard that our operators can shutdown server by not using our root id.&lt;BR /&gt;&lt;BR /&gt;Yes, see shutdown(1M) and /etc/shutdown.allow.&lt;BR /&gt;The sticky bit is only needed on the executable.</description>
      <pubDate>Thu, 15 Nov 2007 07:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102966#M312174</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-11-15T07:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102967#M312175</link>
      <description>I don't really understand high level technical language. would really appreciate you can guide me with example. Many thanks in advance&lt;BR /&gt;I promise of good points.:)</description>
      <pubDate>Thu, 15 Nov 2007 07:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102967#M312175</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2007-11-15T07:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102968#M312176</link>
      <description>Hi Fanas,&lt;BR /&gt;&lt;BR /&gt;Create a file called /etc/shutdown.allow&lt;BR /&gt;# vi /etc/shutdown.allow&lt;BR /&gt;root server_name&lt;BR /&gt;user server_name&lt;BR /&gt;:wq&lt;BR /&gt;# chmod 400 /etc/shutdown.allow&lt;BR /&gt;&lt;BR /&gt;Chane the "user" and "server_name" into the desired user and your system name.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 15 Nov 2007 07:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102968#M312176</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-11-15T07:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102969#M312177</link>
      <description>&amp;gt;I don't really understand high level technical language.&lt;BR /&gt;&lt;BR /&gt;I just said read the shutdown man page.  It discusses the file /etc/shutdown.allow, which you can add other user IDs.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/shutdown.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/shutdown.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or:&lt;BR /&gt;$ man 1m shutdown</description>
      <pubDate>Thu, 15 Nov 2007 07:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102969#M312177</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-11-15T07:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102970#M312178</link>
      <description>If you want more than 'shutdown' install and configure SUDO. &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 15 Nov 2007 07:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102970#M312178</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-11-15T07:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102971#M312179</link>
      <description>where is the sticky bit?&lt;BR /&gt;do we have to change the file permission to sticky bit? &lt;BR /&gt;I found this example:&lt;BR /&gt;Use a stickybit so that only owner of the file will be able to delete the file. &lt;BR /&gt;&lt;BR /&gt;Set the basic permission &lt;BR /&gt;#chmod 766 &lt;BR /&gt;&lt;BR /&gt;After that &lt;BR /&gt;&lt;BR /&gt;#chmod u+t ( Sticky bit ) &lt;BR /&gt;&lt;BR /&gt;After setting stickybit the permissions can be viewed as follows. &lt;BR /&gt;&lt;BR /&gt;-rwxrw-rwT 1 root sys 1276 Jul 12 2002 xyz &lt;BR /&gt;&lt;BR /&gt;Huhuh. I confuse now. I heard with sticky bit on the shutdown file, the operator login to the server using operator id but can perform shutdown when execute the shutdown file. Please englighten me...</description>
      <pubDate>Thu, 15 Nov 2007 07:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102971#M312179</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2007-11-15T07:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102972#M312180</link>
      <description>Hi Finas,&lt;BR /&gt;&lt;BR /&gt;No need to set the sticky bit on the shutdown executable, the shutdown.allow file is enough.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Nov 2007 07:31:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102972#M312180</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-11-15T07:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102973#M312181</link>
      <description>&amp;gt;Robert-Jan: No need to set the sticky bit on the shutdown executable&lt;BR /&gt;&lt;BR /&gt;More correctly, the bit IS already set, otherwise shutdown.allow won't work.</description>
      <pubDate>Thu, 15 Nov 2007 07:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102973#M312181</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-11-15T07:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102974#M312182</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The sticky bit is only needed on the executable.&lt;BR /&gt;&lt;BR /&gt;It is NOT the sticky bit that is set on '/sbin/shutdown'.  It is the 'setuid' bit.&lt;BR /&gt;&lt;BR /&gt;When set, a non-owner of the executable who runs the executable runs it with the same effective user-id as the owner.  For example, if 'shutdown.allow' is configured to allow user "finas" to shutdown a server, then when "finas" runs 'shutdown' his/her effective uid is 'root', because the SETUID bit is set and the executable file is owned by 'root'.&lt;BR /&gt;&lt;BR /&gt;Please see the 'chmod(1)' and 'chmod(2)' manpages for more information.&lt;BR /&gt;&lt;BR /&gt;When you configure '/etc/shutdown.allow' be sure to include 'root' along with your aother users.  For example:&lt;BR /&gt;&lt;BR /&gt;myserver1 root&lt;BR /&gt;myserver1 finas&lt;BR /&gt;&lt;BR /&gt;The manpages for 'shutdown(1M)' document the use of this file, as noted.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;'</description>
      <pubDate>Thu, 15 Nov 2007 07:53:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102974#M312182</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-11-15T07:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102975#M312183</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Plz see the definition of sticky bit in simple terms.&lt;BR /&gt;&lt;BR /&gt;The â  Sticky Bitâ   is a permission bit that can be set on either a file or a directory.&lt;BR /&gt;&lt;BR /&gt;If it is set on a file, then that file will remain in memory after execution, thus â  stickingâ   in memory. This is useful when running a multi-user program (such as a bulletin board system that I ran once) to make the program execute faster for the next user. This was a common programming tactic earlier in the history of computer programming when speed and disk space were at a premium.&lt;BR /&gt;&lt;BR /&gt;If the sticky bit is set on a directory, only the owner of files in that directory will be able to modify or delete files in that directory - even if the permissions set on those files would otherwise allow it.&lt;BR /&gt;&lt;BR /&gt;It executes from user and behaves as it executing from the root&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Srikanth</description>
      <pubDate>Thu, 15 Nov 2007 07:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102975#M312183</guid>
      <dc:creator>Srikanth Arunachalam</dc:creator>
      <dc:date>2007-11-15T07:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102976#M312184</link>
      <description>If the shutdown.allow is set as such a way:&lt;BR /&gt;-rwxrw-rwT 1 root sys 1276 Jul 12 2002 shutdown.allow&lt;BR /&gt;&lt;BR /&gt;How does it works and affect the owner, group and other permission??? would it be better for the security of the file. &lt;BR /&gt;in what case and files are we really recommended to use this sticky bit. &lt;BR /&gt;happy to read your respond, technical and excellent</description>
      <pubDate>Fri, 16 Nov 2007 06:20:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102976#M312184</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2007-11-16T06:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102977#M312185</link>
      <description>&amp;gt;If the shutdown.allow is set as such a way:&lt;BR /&gt;-rwxrw-rwT 1 root sys&lt;BR /&gt;&lt;BR /&gt;The sticky bit should not be set (probably doesn't matter) nor should the file be writable to everyone.  Nor should the data file be executable.  Change to 644.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;in what case and files are we really recommended to use this sticky bit.&lt;BR /&gt;&lt;BR /&gt;As JRF corrected, it is the SUID bit on the shutdown executable that does the work.</description>
      <pubDate>Fri, 16 Nov 2007 06:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102977#M312185</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-11-16T06:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102978#M312186</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; in what case and files are we really recommended to use this sticky bit. &lt;BR /&gt;&lt;BR /&gt;For FILES, setting the 'sticky' bit (which when set shows as "t" or "T") in the mode listing, is really only meaningful for executable files.  The idea is that the text (code instructions) of an executable file will be left in swap space when the process represented by the executable file terminates.  This is supposed to lead to a faster startup of a new process when a new user executes the same file.&lt;BR /&gt;&lt;BR /&gt;For files that are not executables (code) the sticky bit has no meaning.&lt;BR /&gt;&lt;BR /&gt;For DIRECTORIES, setting the 'sticky' bit for the DIRECTORY adds a certain security to the FILES within.  When set for a directory, files in that directory can only be removed or renamed by their *owner* of the file; the owner of the directory or, of course, by the 'root' user.&lt;BR /&gt;&lt;BR /&gt;Lastly, you will encounter the 'sticky' bit set on certain symbolic links (notably '/bin' and '/lib'.  This is a special setting called a "transition link".  Transition links are really just symbolic links established with a special utility called "tlinstall'.  They appeared during the transition from HP-UX 9x to HP-UX 10.0 when the layout of the Unix filesystems were redrafted.&lt;BR /&gt;&lt;BR /&gt;If you are interested in that history, see this document:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5963-8942/index.html" target="_blank"&gt;http://docs.hp.com/en/5963-8942/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Nov 2007 08:50:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102978#M312186</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-11-16T08:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102979#M312187</link>
      <description>The forum has spoken!&lt;BR /&gt;&lt;BR /&gt;just create the shutdown.allow file and you and  make the needed entry and you should be to go. It's also a good idea to read the man page to get a better understanding.&lt;BR /&gt;&lt;BR /&gt;sp,</description>
      <pubDate>Fri, 16 Nov 2007 09:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102979#M312187</guid>
      <dc:creator>Sp4admin</dc:creator>
      <dc:date>2007-11-16T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stickybit Configuration on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102980#M312188</link>
      <description>Thanks a lot Gurus. :)</description>
      <pubDate>Sun, 18 Nov 2007 21:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stickybit-configuration-on-hp-ux-11-23/m-p/4102980#M312188</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2007-11-18T21:32:08Z</dc:date>
    </item>
  </channel>
</rss>

