<?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: system operator in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773010#M75197</link>
    <description>There are a few ways to do this.&lt;BR /&gt;1) You could create a 'shutdown' user with UID = 0 that executes by specfying shutdown as his login shell (or by making an entry in his .profile).&lt;BR /&gt;2) Probably better; use sam -r to created a restricted SAM user to shutdowm. Man sam for details.&lt;BR /&gt;3) You could install sudo to initiate the shutdown for a user.&lt;BR /&gt;&lt;BR /&gt;You really don't need any special user to start the system. Anyone can simply power the box 'ON' and it should come fully up automatically. I assume that you have no startup processes that require manual intervention.&lt;BR /&gt;&lt;BR /&gt;Having said all this, I should tell you that this is probably a bad idea. How does the user know when it's safe to shutdown a box. Critical processes may be running.&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Jul 2002 20:58:00 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2002-07-25T20:58:00Z</dc:date>
    <item>
      <title>system operator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773007#M75194</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am new here.&lt;BR /&gt;Would you mind answer me this question??&lt;BR /&gt;&lt;BR /&gt;Can I create  role only for shutdown and startup???&lt;BR /&gt;&lt;BR /&gt;If yes, how?&lt;BR /&gt;If not, have any other way to give someone the privilege to shutdown and startup the server without root privilege.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jul 2002 20:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773007#M75194</guid>
      <dc:creator>Eric_68</dc:creator>
      <dc:date>2002-07-25T20:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: system operator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773008#M75195</link>
      <description>Any user can shut down the system via the shutdown command as long as they are set up in the /etc/shutdown.allow file.&lt;BR /&gt;&lt;BR /&gt;See 'man shutdown' for more information.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what you mean by a user for startup.  If the machine is powered off, then you just power on the machine and it comes up, no user interaction is required.  Or if you use the 'shutdown -r' command to reboot the machine no interaction is required after that.</description>
      <pubDate>Thu, 25 Jul 2002 20:50:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773008#M75195</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-07-25T20:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: system operator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773009#M75196</link>
      <description>Hi and welcome,&lt;BR /&gt;&lt;BR /&gt;There are two ways.&lt;BR /&gt;&lt;BR /&gt;The first and simplest way is to include the user in the /etc/shutdown.allow file. You don't need to special privileges to start a system. If you have access to 'shutdown' you can reboot the system also. Have a look at the man page for shutdown.&lt;BR /&gt;&lt;BR /&gt;# man 1m shutdown&lt;BR /&gt;&lt;BR /&gt;The second and more secure method is to install 'sudo' and then you could add more commands to this list for this user should you choose like being an operator.&lt;BR /&gt;&lt;BR /&gt;Here is the link for 'sudo'&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael</description>
      <pubDate>Thu, 25 Jul 2002 20:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773009#M75196</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-07-25T20:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: system operator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773010#M75197</link>
      <description>There are a few ways to do this.&lt;BR /&gt;1) You could create a 'shutdown' user with UID = 0 that executes by specfying shutdown as his login shell (or by making an entry in his .profile).&lt;BR /&gt;2) Probably better; use sam -r to created a restricted SAM user to shutdowm. Man sam for details.&lt;BR /&gt;3) You could install sudo to initiate the shutdown for a user.&lt;BR /&gt;&lt;BR /&gt;You really don't need any special user to start the system. Anyone can simply power the box 'ON' and it should come fully up automatically. I assume that you have no startup processes that require manual intervention.&lt;BR /&gt;&lt;BR /&gt;Having said all this, I should tell you that this is probably a bad idea. How does the user know when it's safe to shutdown a box. Critical processes may be running.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jul 2002 20:58:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773010#M75197</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-25T20:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: system operator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773011#M75198</link>
      <description>Thank for replying so fast!!!&lt;BR /&gt;&lt;BR /&gt;My situation is if no administrator in the computer lab, only one of out staff in office.&lt;BR /&gt;&lt;BR /&gt;If there is an emergency issue occurs,&lt;BR /&gt;then that guy can shutdown the server properly.&lt;BR /&gt;&lt;BR /&gt;So I need to give him the privilege to shutdown the server.&lt;BR /&gt;&lt;BR /&gt;You guys's solutions are wonderful!!!&lt;BR /&gt;&lt;BR /&gt;Thanks!!!&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jul 2002 21:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773011#M75198</guid>
      <dc:creator>Eric_68</dc:creator>
      <dc:date>2002-07-25T21:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: system operator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773012#M75199</link>
      <description>Another idea is that you can create a special&lt;BR /&gt;user-id that should only be used in a emergency&lt;BR /&gt;when you want the system to be shutdown.  What&lt;BR /&gt;you can do is make a .profile for that user-id&lt;BR /&gt;that will execute shutdown procedures upon&lt;BR /&gt;that sign-on being used.  Of course  you would&lt;BR /&gt;limit the password and logon to those who would&lt;BR /&gt;be expected to use it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Andre'&lt;BR /&gt;&lt;BR /&gt;I used to have a logon setup for my Operator's&lt;BR /&gt;to execute a nightly backup by signing on as&lt;BR /&gt;op_back.   (This was when i was new to the &lt;BR /&gt;HP-UX, now i use crontab).&lt;BR /&gt;&lt;BR /&gt;Good Luck!!&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jul 2002 12:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-operator/m-p/2773012#M75199</guid>
      <dc:creator>Andre Lemon</dc:creator>
      <dc:date>2002-07-26T12:47:37Z</dc:date>
    </item>
  </channel>
</rss>

