<?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: Is it possible to give a user shutdown/reboot perms via sudo? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119821#M802154</link>
    <description>The powers-that-be will not go for allowing telcom to su to root, hence the need for sudo.&lt;BR /&gt;</description>
    <pubDate>Fri, 14 Nov 2003 15:15:19 GMT</pubDate>
    <dc:creator>Stacey Akerstrom</dc:creator>
    <dc:date>2003-11-14T15:15:19Z</dc:date>
    <item>
      <title>Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119814#M802147</link>
      <description>I have a user 'telcom' that should be allowed to shutdown and reboot, using sudo1.6.6.&lt;BR /&gt;Although I'm specifying no passwd in the sudo file, I'm still being prompted for a password.&lt;BR /&gt;Here's the telcom specific entry:&lt;BR /&gt;TELCOM    ALL = NOPASSWD: KILL,LPSTAT,CLEAR,FIND,LS,IPCS,IPCRM,CANCEL,PASSWD,LPADMIN&lt;BR /&gt;&lt;BR /&gt;I can only guess that I've added this incorrectly, or I've left out something else.&lt;BR /&gt;&lt;BR /&gt;Thanks-&lt;BR /&gt;Stace</description>
      <pubDate>Fri, 14 Nov 2003 14:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119814#M802147</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2003-11-14T14:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119815#M802148</link>
      <description>Sudo should work, but it can be done without sudo as well.  Add the user to the /etc/shutdown.allow file and that user can then shutdown the system.</description>
      <pubDate>Fri, 14 Nov 2003 14:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119815#M802148</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-11-14T14:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119816#M802149</link>
      <description>Patrick, we really prefer to implement sudo rather than just adding to shutdown.allow, primarily because there are other limited commands we want certain users to be able to run.&lt;BR /&gt;However, I'm being prompted for a password, which is what I'm trying to get around.&lt;BR /&gt;Any ideas?&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 14 Nov 2003 14:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119816#M802149</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2003-11-14T14:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119817#M802150</link>
      <description>Hi Stacey,&lt;BR /&gt;&lt;BR /&gt;That's thin ice you're walking on.&lt;BR /&gt;If a normal user dicovered that they can sudo/shutdown w/o a PW......well I wouldn't want to think about that.&lt;BR /&gt;The user should be added to shutdown.allow at most as Patrick points out &amp;amp; then you'd at least have a sudo log to *try* to determine who shutdown the system as long as you don't allow direct logins as telcom.&lt;BR /&gt;BUT if you have multiple people allowed to su to telcom, then you might never be able to definitively determine just who ran the shutdown - just candidates. If direct logins are allowed - all you'll have is IPs at best.&lt;BR /&gt;&lt;BR /&gt;I'm a firm believer that VERY destructive utils should be root-only - not even sudo should be allowed &amp;amp; I can't think of a more destructive util than shutdown - except for maybe&lt;BR /&gt;rm -rf /&lt;BR /&gt;&lt;BR /&gt;My $0.02,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2003 14:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119817#M802150</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-11-14T14:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119818#M802151</link>
      <description>Do any of the command aliases you've listed here actually contain a reference to /usr/sbin/shutdown?  Just judging by their names, I wouldn't think so.&lt;BR /&gt;&lt;BR /&gt;Otherwise, as long the user you are logged in as is a member of the TELCOM User_Alias, what you've written here looks correct.</description>
      <pubDate>Fri, 14 Nov 2003 14:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119818#M802151</guid>
      <dc:creator>James A. Donovan</dc:creator>
      <dc:date>2003-11-14T14:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119819#M802152</link>
      <description>Jeff-&lt;BR /&gt;My bad, I didn't explain myself very well.&lt;BR /&gt;This user telcom is the *only* user (other than root, of course) that I want to allow to shutdown/reboot. They wouldn't be su'ing, I only did it that way because I was too lazy to go ask someone what the telcom passwd was.&lt;BR /&gt;The reason I don't want to add telcom to shutdown.allow, is that I wouldn't be able to trace who did the shutdown/reboot, whereas if they do it via sudo, it will get logged.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2003 14:33:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119819#M802152</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2003-11-14T14:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119820#M802153</link>
      <description>Hi Stacey,&lt;BR /&gt;&lt;BR /&gt;I understand, but even with an su there would still be a log - see /etc/shutdownlog.&lt;BR /&gt;This will record the *true* user that ran it.&lt;BR /&gt;IF you use su to gain root - and you should - take a look in there &amp;amp; you'll see what I mean.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 14 Nov 2003 14:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119820#M802153</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-11-14T14:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119821#M802154</link>
      <description>The powers-that-be will not go for allowing telcom to su to root, hence the need for sudo.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2003 15:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119821#M802154</guid>
      <dc:creator>Stacey Akerstrom</dc:creator>
      <dc:date>2003-11-14T15:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to give a user shutdown/reboot perms via sudo?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119822#M802155</link>
      <description>No - the user(s) su to telcom - telcom is in shutdown.allow &amp;amp; then they issue the shutdown command.&lt;BR /&gt;I think the thought that you want to do this w/o a PW is the very dangerous part of this process. One should always HAVE to issue a PW to get to this "power" level.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 14 Nov 2003 15:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-possible-to-give-a-user-shutdown-reboot-perms-via-sudo/m-p/3119822#M802155</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-11-14T15:30:46Z</dc:date>
    </item>
  </channel>
</rss>

