<?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: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630352#M711628</link>
    <description>Justo,&lt;BR /&gt;&lt;BR /&gt;Sudo will do this for you as suggested by others.&lt;BR /&gt;&lt;BR /&gt;And the best way would be to setup restricted SAM that will allow package handling by users.&lt;BR /&gt;&lt;BR /&gt;#sam -r&lt;BR /&gt;&lt;BR /&gt;It's easy to setup.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 12 Dec 2001 16:07:51 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2001-12-12T16:07:51Z</dc:date>
    <item>
      <title>Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630349#M711625</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;Can someone tell me how to delegate the commands cmrunpkg, cmhaltpkg, cmmodpkg to other user not root?.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Justo.</description>
      <pubDate>Wed, 12 Dec 2001 15:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630349#M711625</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2001-12-12T15:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630350#M711626</link>
      <description>The best way is sudo, if you don't have to get it for free.  That allows you to setup users that can run commands as root.  Another way, but this is risky, you can get sid bit on those commands so they will execute as root</description>
      <pubDate>Wed, 12 Dec 2001 16:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630350#M711626</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-12T16:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630351#M711627</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;No these commands to be run by superuser only..&lt;BR /&gt;Try configuring sudo or su , if you want to keep track of all super user activity&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 12 Dec 2001 16:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630351#M711627</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-12T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630352#M711628</link>
      <description>Justo,&lt;BR /&gt;&lt;BR /&gt;Sudo will do this for you as suggested by others.&lt;BR /&gt;&lt;BR /&gt;And the best way would be to setup restricted SAM that will allow package handling by users.&lt;BR /&gt;&lt;BR /&gt;#sam -r&lt;BR /&gt;&lt;BR /&gt;It's easy to setup.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 12 Dec 2001 16:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630352#M711628</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-12T16:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630353#M711629</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks, but how can I configure su or sudo?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Justo.</description>
      <pubDate>Wed, 12 Dec 2001 16:09:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630353#M711629</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2001-12-12T16:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630354#M711630</link>
      <description>Justo,&lt;BR /&gt;&lt;BR /&gt;It's easy. Download sudo from here.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's all in the /etc/sudoers file. Read the page&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/man/sudoers.html" target="_blank"&gt;http://www.courtesan.com/sudo/man/sudoers.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For the syntax.&lt;BR /&gt;&lt;BR /&gt;I would suggest you try it with restricted SAM for the users.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 16:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630354#M711630</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-12T16:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630355#M711631</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Download sudo from here..&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 16:18:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630355#M711631</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-12T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630356#M711632</link>
      <description>when you get sudo installed, you can run visudo, this is an example of what you want the file to look like&lt;BR /&gt;&lt;BR /&gt;# sudoers file.&lt;BR /&gt;#&lt;BR /&gt;# This file MUST be edited with the 'visudo' command as root.&lt;BR /&gt;#&lt;BR /&gt;# See the man page for the details on how to write a sudoers file.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# Host alias specification&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;User_Alias CMUSERS = user1,user2&lt;BR /&gt;&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;Cmnd_Alias CMCOMMANDS=/usr/sbin/cmrunpkg, /usr/sbin/cmruncl  &lt;BR /&gt;l&lt;BR /&gt;# User privilege specification&lt;BR /&gt;CMUSERS             ALL = CMCOMMANDS&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2001 16:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630356#M711632</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-12T16:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate the cmhaltpkg, cmrunpkg, cmmodpkg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630357#M711633</link>
      <description>SUDO is a good tool and would definately solve your problem.&lt;BR /&gt;&lt;BR /&gt;Also, if memory serves me correctly, even though the commands you asked about are world executable, and any user can run the MC/Svc Guard commands, the commands have logic built into them so that only the superuser (root) can affect the package/cluster.  &lt;BR /&gt;&lt;BR /&gt;I don't have a test server to confirm this right now, but I remember when we were setting up our clusters, I had the same concern, so I executed the commands as a non-priveldged user and got an error message back...the verbiage of the error stated that I could not run the command because I was not root.&lt;BR /&gt;&lt;BR /&gt;If you have a test environment, try this out, but I am almost sure this is the case.</description>
      <pubDate>Tue, 18 Dec 2001 20:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/delegate-the-cmhaltpkg-cmrunpkg-cmmodpkg/m-p/2630357#M711633</guid>
      <dc:creator>Jeromy Gregg</dc:creator>
      <dc:date>2001-12-18T20:56:08Z</dc:date>
    </item>
  </channel>
</rss>

