<?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 create user able to shutdown the system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935892#M288097</link>
    <description>hi all ,&lt;BR /&gt;i need to create a user on a HP-UX system that has the capability to shutdown the system automatically when it log in , &lt;BR /&gt;&lt;BR /&gt;how can i create this user ?&lt;BR /&gt;thank you</description>
    <pubDate>Wed, 31 Jan 2007 13:09:51 GMT</pubDate>
    <dc:creator>meekrob</dc:creator>
    <dc:date>2007-01-31T13:09:51Z</dc:date>
    <item>
      <title>create user able to shutdown the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935892#M288097</link>
      <description>hi all ,&lt;BR /&gt;i need to create a user on a HP-UX system that has the capability to shutdown the system automatically when it log in , &lt;BR /&gt;&lt;BR /&gt;how can i create this user ?&lt;BR /&gt;thank you</description>
      <pubDate>Wed, 31 Jan 2007 13:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935892#M288097</guid>
      <dc:creator>meekrob</dc:creator>
      <dc:date>2007-01-31T13:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: create user able to shutdown the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935893#M288098</link>
      <description>You add a user name into the /etc/shutdown.allow file, remembering to explicitly include the root user as well&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Jan 2007 13:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935893#M288098</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2007-01-31T13:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: create user able to shutdown the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935894#M288099</link>
      <description>You can create a user with UID = 0 amd make the shell /sbin/shutdown but I would not do this. I would much prefer to designate certain trained users the ability to shutdown the box via sudo.</description>
      <pubDate>Wed, 31 Jan 2007 13:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935894#M288099</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-01-31T13:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: create user able to shutdown the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935895#M288100</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;To add to Melvyn's response, you can replace the user's default shell in '/etc/passwd' with '/sbin/shutdown'.  Then, when the user logs in, the shutdown command is run.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 31 Jan 2007 13:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935895#M288100</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-01-31T13:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: create user able to shutdown the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935896#M288101</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;we once had such a user to allow the Worstation useres to shutdown their workstations.&lt;BR /&gt;&lt;BR /&gt;The user named stop was a normal user, belonging to the group users. It was configured in /etc/shutdown.allow, which is necessary as mentioned above.&lt;BR /&gt;&lt;BR /&gt;Also this user had his own homedirectory where the .profile did the shutdown. We did not use the /etc/shutdown as shell as the script .profile gave us the opportunity to do some extra stuff befor shutting down the system.&lt;BR /&gt;&lt;BR /&gt;But take care if you use a script like we did. This is a potential security whole. &lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Stefan</description>
      <pubDate>Thu, 01 Feb 2007 03:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935896#M288101</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2007-02-01T03:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: create user able to shutdown the system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935897#M288102</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;we changed shell-login to csh and added this at the end of the .login file:&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;/etc/shutdown -hy 0&lt;BR /&gt;logout&lt;BR /&gt;&lt;BR /&gt;HTh&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Feb 2007 06:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/create-user-able-to-shutdown-the-system/m-p/3935897#M288102</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-02-01T06:04:58Z</dc:date>
    </item>
  </channel>
</rss>

