<?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: server shutdown in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548503#M224501</link>
    <description>Peter,&lt;BR /&gt;I would suggest like many others have done, go ahead and schedule a script for shutdown/startup depending on your requirement. By this if you have some junior staff that need to be notified, this can be done using page/mail on the system. i.e mail/page prior to shutdown and then mail/page when the system is back up&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
    <pubDate>Fri, 20 May 2005 03:50:16 GMT</pubDate>
    <dc:creator>Mobeen_1</dc:creator>
    <dc:date>2005-05-20T03:50:16Z</dc:date>
    <item>
      <title>server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548496#M224494</link>
      <description>I want to schedule to shutdown the UX server at night time , I want to ask a junior staff to do it , I know the shutdown task need a root user to do it ( but I am not perfer give the root password to the staff ) ,  could suggest the safety way how can I grant the permission to the staff to shutdown it ( eg. create a userid that only have permission to run the shutdown script ) ? thx</description>
      <pubDate>Fri, 20 May 2005 02:16:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548496#M224494</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2005-05-20T02:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548497#M224495</link>
      <description>Hi Peter, &lt;BR /&gt;&lt;BR /&gt;y dont u schedule the shutdown in the crontab instead?&lt;BR /&gt;&lt;BR /&gt;No junior staff intervention will be required.&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff</description>
      <pubDate>Fri, 20 May 2005 02:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548497#M224495</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-05-20T02:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548498#M224496</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Add the user to the /etc/shutdown.allow&lt;BR /&gt;&lt;BR /&gt;or setup a cron enry&lt;BR /&gt;00 18 20 05 *  /usr/sbin/shutdown -r -y now &amp;gt;&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 20 May 2005 02:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548498#M224496</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-05-20T02:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548499#M224497</link>
      <description>Hi peterchu&lt;BR /&gt;why don't you put script in crontab???&lt;BR /&gt;be sure that your system do not run database agent at shutdown time (if your system has oracle, DBII... runing , pls shutdown it firts).&lt;BR /&gt;1. write shutdown sript&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;shutdown -hy 0&lt;BR /&gt;SAVE IT TO /downserver.sh&lt;BR /&gt;2. add to crontab&lt;BR /&gt;#crontab -e&lt;BR /&gt; minute        hour    date    month   weekday         command&lt;BR /&gt;00              00      *       *        *               sh /downserver.sh&lt;BR /&gt;THAT'S ALL.&lt;BR /&gt;HTH&lt;BR /&gt;TIENNA&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2005 02:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548499#M224497</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-05-20T02:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548500#M224498</link>
      <description>Thx replies,&lt;BR /&gt;&lt;BR /&gt;Yes , I will try to write a script to schedule it , besides that , I also want have a method to shutdown the server when in the unexpected case like power failure or require to urgently  shutdown when I am not in the office , so I would ask my colleague to shutdown it for me , is there any method ? thx</description>
      <pubDate>Fri, 20 May 2005 03:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548500#M224498</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2005-05-20T03:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548501#M224499</link>
      <description>YES&lt;BR /&gt;&lt;BR /&gt;# vi /etc/shutdown.allow&lt;BR /&gt;user_name hostname&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 20 May 2005 03:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548501#M224499</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-05-20T03:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548502#M224500</link>
      <description>To Robert:&lt;BR /&gt;I think perterchu should not use &lt;BR /&gt;"shutdown -r -y now' because -r option is restart server, he need to shutdown server so I recommend him use -h option&lt;BR /&gt;"shutdown -hy 0' or "shutdown -h -y now"&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2005 03:43:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548502#M224500</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-05-20T03:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548503#M224501</link>
      <description>Peter,&lt;BR /&gt;I would suggest like many others have done, go ahead and schedule a script for shutdown/startup depending on your requirement. By this if you have some junior staff that need to be notified, this can be done using page/mail on the system. i.e mail/page prior to shutdown and then mail/page when the system is back up&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Fri, 20 May 2005 03:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548503#M224501</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2005-05-20T03:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548504#M224502</link>
      <description>Thanks for the correction Tienna :-)&lt;BR /&gt;&lt;BR /&gt;You can also setup sudo to allow a user to run the shutdown command.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 20 May 2005 03:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548504#M224502</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-05-20T03:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548505#M224503</link>
      <description>Just remember that you need to put root in your /etc/shutdown.allow file as well.  If you don't, root won't be able to run the shutdown command!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 20 May 2005 05:20:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548505#M224503</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-20T05:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548506#M224504</link>
      <description>The way I did this was to setup restricted SAM.  This allows me to put a bunch of things in there that run as various users (oracle startup / shutdown, app startup / shutdown / reboots, reset passwords, etc) that my operators can then execute.  SAM does the "run as" thing.  When I setup restricted SAM, I associated with a group, not a particular user.  That way, just the act of creating a user in my operations group gave them the ability to run restricted SAM.</description>
      <pubDate>Fri, 20 May 2005 06:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548506#M224504</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-05-20T06:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548507#M224505</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;U Can use the sudo command to assign a user to run the shutdown command&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Pravin S</description>
      <pubDate>Fri, 20 May 2005 06:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548507#M224505</guid>
      <dc:creator>Pravin Salgaonkar</dc:creator>
      <dc:date>2005-05-20T06:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: server shutdown</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548508#M224506</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Yes Sudo is best, even you can defined in script Oracle database shutdown/startup.&lt;BR /&gt;&lt;BR /&gt;Ansari</description>
      <pubDate>Sat, 21 May 2005 00:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-shutdown/m-p/3548508#M224506</guid>
      <dc:creator>Mehmood Ansari</dc:creator>
      <dc:date>2005-05-21T00:12:40Z</dc:date>
    </item>
  </channel>
</rss>

