<?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: /sbin/shutdown and /sbin/init in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748727#M753978</link>
    <description>&lt;BR /&gt;No. Shutdown does extra checking to ensure only a superuser can run it. Try it as a non root user and you will see.&lt;BR /&gt;&lt;BR /&gt;The permissions on /sbin/shutdown should actually be 04555. You can verify this by doing;&lt;BR /&gt;&lt;BR /&gt;swlist -a mode -l file|grep "/sbin/shutdown"&lt;BR /&gt;&lt;BR /&gt;And it returns 04555 (at least on my 11.0 box it does). &lt;BR /&gt;&lt;BR /&gt;/sbin/init should indeed be permission 0555.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Jun 2002 12:25:18 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2002-06-20T12:25:18Z</dc:date>
    <item>
      <title>/sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748723#M753974</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I just found that the permissions for the two files are -r-xr-xr-x.&lt;BR /&gt;&lt;BR /&gt;Does it mean all people can shutdwon the system?&lt;BR /&gt;&lt;BR /&gt;CRYSTAL</description>
      <pubDate>Thu, 20 Jun 2002 12:18:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748723#M753974</guid>
      <dc:creator>Crystal_1</dc:creator>
      <dc:date>2002-06-20T12:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748724#M753975</link>
      <description>hello,&lt;BR /&gt;If you make an entry in the /etc/shutdown.allow file then the user can shutdown the system.&lt;BR /&gt;&lt;BR /&gt;Now if you shutdown as normal user it will give a message&lt;BR /&gt;&lt;BR /&gt;"Must be root to shutdown"&lt;BR /&gt;&lt;BR /&gt;only super user root can shutdown&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 20 Jun 2002 12:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748724#M753975</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-20T12:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748725#M753976</link>
      <description>No&lt;BR /&gt;&lt;BR /&gt;shutdown is controlled by shutdown.allow &lt;BR /&gt;&lt;BR /&gt;I'm fairly sure init makes kernel calls which the average user is not allowed to do.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 20 Jun 2002 12:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748725#M753976</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-06-20T12:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748726#M753977</link>
      <description>Only if they are list in /etc/shutdown.allow&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Jun 2002 12:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748726#M753977</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748727#M753978</link>
      <description>&lt;BR /&gt;No. Shutdown does extra checking to ensure only a superuser can run it. Try it as a non root user and you will see.&lt;BR /&gt;&lt;BR /&gt;The permissions on /sbin/shutdown should actually be 04555. You can verify this by doing;&lt;BR /&gt;&lt;BR /&gt;swlist -a mode -l file|grep "/sbin/shutdown"&lt;BR /&gt;&lt;BR /&gt;And it returns 04555 (at least on my 11.0 box it does). &lt;BR /&gt;&lt;BR /&gt;/sbin/init should indeed be permission 0555.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 12:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748727#M753978</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-06-20T12:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748728#M753979</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;See the owner and group of these files. Owner will be root and group will be sys. Hence all the users cannot execute.&lt;BR /&gt;&lt;BR /&gt;If you make an entry in /etc/shutdown.allow then the users can shutdown the machine.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Thu, 20 Jun 2002 12:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748728#M753979</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-20T12:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748729#M753980</link>
      <description>Hey guys,&lt;BR /&gt;&lt;BR /&gt;This setting is by default. I have checked several boxes, they are the same settings.&lt;BR /&gt;&lt;BR /&gt;CRYSTAL</description>
      <pubDate>Thu, 20 Jun 2002 12:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748729#M753980</guid>
      <dc:creator>Crystal_1</dc:creator>
      <dc:date>2002-06-20T12:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748730#M753981</link>
      <description>/sbin/shutdown has extra checking. How about init and reboot?&lt;BR /&gt;&lt;BR /&gt;I did check /usr/sbin/swlist -a mode -l file | grep "/sbin/shutdown" and it is 04555.&lt;BR /&gt;&lt;BR /&gt;Does a regular user can run reboot or init?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 12:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748730#M753981</guid>
      <dc:creator>Crystal_1</dc:creator>
      <dc:date>2002-06-20T12:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748731#M753982</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A regular user cannot execute init or reboot.&lt;BR /&gt;&lt;BR /&gt;It will give an error -  "Must be a Super-User"&lt;BR /&gt;&lt;BR /&gt;Give an ls -al /sbin/init and see the owner and group for this file.&lt;BR /&gt;&lt;BR /&gt;The owner of these files is root and the group is sys. So only the user root or any other users in the group sys can execute these commands.&lt;BR /&gt;&lt;BR /&gt;Piyush&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 12:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748731#M753982</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-20T12:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748732#M753983</link>
      <description>Hi Crystal,&lt;BR /&gt;&lt;BR /&gt;Even reboot will tell you " Permission denied" when executed by any other user except root.&lt;BR /&gt;&lt;BR /&gt;If all the users will have the previledge to use the shutdown/init/reboot commands then we system admins may have a "TOUGH TIME" !!!&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Thu, 20 Jun 2002 13:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748732#M753983</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-20T13:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: /sbin/shutdown and /sbin/init</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748733#M753984</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If an abnormal channel of access to /sbin/shutdown is exploited, with the setuid bit set, the shutdown binary is exposed to potential buffer overflows even though none has been discovered yet (as far as I can recall i.e. I have not done a thorough search for buffer overflow vulnerabilities on the shutdown binary). Thus, the security principle of least privileges tells us that such risks should be mitigated where possible, which is dependent on whether the configuration without setuid bits set is supported by HP.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Wed, 07 Aug 2002 09:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sbin-shutdown-and-sbin-init/m-p/2748733#M753984</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-08-07T09:30:26Z</dc:date>
    </item>
  </channel>
</rss>

