<?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: automatic system shutdown with user logon in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802608#M82259</link>
    <description>Hi all,&lt;BR /&gt;I've got the solution.&lt;BR /&gt;1.create a user using any of sam , useradd,vi /etc/passwd  ensuring that  the shell is /sbin/shutdown,if using useradd: specify  -s /shell/shutdown.&lt;BR /&gt;&lt;BR /&gt;2. edit .profile of that user created and include /sbin/shutdown as part of PATH:,specifically replace /sbin with that.&lt;BR /&gt;then below the PATH:.... line,type: /sbin/shutdown -hy 0&lt;BR /&gt;&lt;BR /&gt;3. Save your work with either: wq or x!&lt;BR /&gt;&lt;BR /&gt;logon as that user.it worked for me.&lt;BR /&gt;Thanks for all your assistant.&lt;BR /&gt;Regards.&lt;BR /&gt;Nsikan.</description>
    <pubDate>Wed, 11 Sep 2002 11:58:43 GMT</pubDate>
    <dc:creator>Nsikan_1</dc:creator>
    <dc:date>2002-09-11T11:58:43Z</dc:date>
    <item>
      <title>automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802603#M82254</link>
      <description>How do I creat a user such that immediately he/she logon  to the system with his name &amp;amp; password,the system shutdown automatically?</description>
      <pubDate>Mon, 09 Sep 2002 16:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802603#M82254</guid>
      <dc:creator>Nsikan_1</dc:creator>
      <dc:date>2002-09-09T16:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802604#M82255</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Create the user of your choice.  This can be done however you wish -- via SAM or with 'useradd' [see the man pages for the same].&lt;BR /&gt;&lt;BR /&gt;In place of the user's shell (the seventh field of '/etc/passwd', specify:&lt;BR /&gt;&lt;BR /&gt;/sbin/shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;Then, in '/etc/shutdown.allow' add the user name as:&lt;BR /&gt;&lt;BR /&gt;myhostname user_who_can_shutdown&lt;BR /&gt;&lt;BR /&gt;Be sure to have the entry:&lt;BR /&gt;&lt;BR /&gt;myhostname root&lt;BR /&gt;&lt;BR /&gt;...in the '/etc/shutdown.allow' file too!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Sep 2002 16:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802604#M82255</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-09-09T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802605#M82256</link>
      <description>Create a user with Super User Capability and put the shutdown command in his/her profile.&lt;BR /&gt;You can put the shutdown command on the /etc/passwd file against that user also, so that as soon as the user logs in, it will execute the shudown command.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Mon, 09 Sep 2002 16:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802605#M82256</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-09-09T16:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802606#M82257</link>
      <description>Why do you want to do this and who do you work for?</description>
      <pubDate>Mon, 09 Sep 2002 16:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802606#M82257</guid>
      <dc:creator>Rich Wright</dc:creator>
      <dc:date>2002-09-09T16:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802607#M82258</link>
      <description>Small point, but...&lt;BR /&gt;&lt;BR /&gt;'/sbin/shutdown -ry 0' will re-boot the machine.&lt;BR /&gt;&lt;BR /&gt;'/sbin/shutdown -hy 0' will halt the machine after shutting it.&lt;BR /&gt;&lt;BR /&gt;You may want to set up two users, one for each.</description>
      <pubDate>Tue, 10 Sep 2002 07:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802607#M82258</guid>
      <dc:creator>David Andrews_1</dc:creator>
      <dc:date>2002-09-10T07:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802608#M82259</link>
      <description>Hi all,&lt;BR /&gt;I've got the solution.&lt;BR /&gt;1.create a user using any of sam , useradd,vi /etc/passwd  ensuring that  the shell is /sbin/shutdown,if using useradd: specify  -s /shell/shutdown.&lt;BR /&gt;&lt;BR /&gt;2. edit .profile of that user created and include /sbin/shutdown as part of PATH:,specifically replace /sbin with that.&lt;BR /&gt;then below the PATH:.... line,type: /sbin/shutdown -hy 0&lt;BR /&gt;&lt;BR /&gt;3. Save your work with either: wq or x!&lt;BR /&gt;&lt;BR /&gt;logon as that user.it worked for me.&lt;BR /&gt;Thanks for all your assistant.&lt;BR /&gt;Regards.&lt;BR /&gt;Nsikan.</description>
      <pubDate>Wed, 11 Sep 2002 11:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802608#M82259</guid>
      <dc:creator>Nsikan_1</dc:creator>
      <dc:date>2002-09-11T11:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802609#M82260</link>
      <description>All I can say is you must be really upset with this user.  This is almost as bad as the guy who wanted his user to have to change their password every so many hours.&lt;BR /&gt;&lt;BR /&gt;;^)&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 11 Sep 2002 12:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802609#M82260</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-09-11T12:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802610#M82261</link>
      <description>Hi Pete&lt;BR /&gt;&lt;BR /&gt;I wonder if that user did get a change passwd every few hours?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It pays not to upset your sysadmin !!!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Sep 2002 12:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802610#M82261</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-09-11T12:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: automatic system shutdown with user logon</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802611#M82262</link>
      <description>Hi all,&lt;BR /&gt;It's for security issues.&lt;BR /&gt;U can create a user only to be shuting down your system.This will prevent from doing anything.&lt;BR /&gt;Rgds.&lt;BR /&gt;Nsikan.</description>
      <pubDate>Wed, 11 Sep 2002 15:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-system-shutdown-with-user-logon/m-p/2802611#M82262</guid>
      <dc:creator>Nsikan_1</dc:creator>
      <dc:date>2002-09-11T15:22:20Z</dc:date>
    </item>
  </channel>
</rss>

