<?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: root privilege commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308282#M185067</link>
    <description>You may get a suggestion to simply change the /etc/passwd file for as particular user so their UID=0. Don't do it! Huge mistakes will occur and it is a very serious security breach. Just download sudo and grant the specific commands to the user (don't use ALL).</description>
    <pubDate>Thu, 17 Jun 2004 12:16:29 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-06-17T12:16:29Z</dc:date>
    <item>
      <title>root privilege commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308280#M185065</link>
      <description>Hi,&lt;BR /&gt;By any chance ,can unix users(non root) use or manipulate the following commands &lt;BR /&gt;1.shutdown&lt;BR /&gt;2.init&lt;BR /&gt;3.syslogd (kill and rerun)&lt;BR /&gt;4.stop.&lt;BR /&gt;If so how?&lt;BR /&gt;I appriciate your help.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jun 2004 11:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308280#M185065</guid>
      <dc:creator>subhashni</dc:creator>
      <dc:date>2004-06-17T11:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: root privilege commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308281#M185066</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Except for shutdown, they will not be able to execute these commands except 'stop'. There isn't any command called stop. I believe you meant /sbin/init.d/&amp;lt;script&amp;gt; stop.&lt;BR /&gt;&lt;BR /&gt;If you want them to execute these commands, then you would need to setup 'sudo'. You will need to configure these commands in the sudoers file, the configuration file that sudo uses to grant permissions. Look at the following URL to download.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You have to be bit careful while configuring the sudoers file as you may inadvertantly open up security holes.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 17 Jun 2004 11:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308281#M185066</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-06-17T11:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: root privilege commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308282#M185067</link>
      <description>You may get a suggestion to simply change the /etc/passwd file for as particular user so their UID=0. Don't do it! Huge mistakes will occur and it is a very serious security breach. Just download sudo and grant the specific commands to the user (don't use ALL).</description>
      <pubDate>Thu, 17 Jun 2004 12:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308282#M185067</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-17T12:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: root privilege commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308283#M185068</link>
      <description>Look at sudo or even restricted SAM.&lt;BR /&gt;&lt;BR /&gt;sam -r&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 17 Jun 2004 12:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308283#M185068</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-06-17T12:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: root privilege commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308284#M185069</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes, as others have pointed out, Sudo is a great tool to achieve this. Sudo is part of the Internet Express suite of products, which can be downloaded from:&lt;BR /&gt;For HP-UX 11.23: &lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123&lt;/A&gt;&lt;BR /&gt;For HP-UX 11.11:&lt;BR /&gt;&lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;Regards,&lt;BR /&gt;Sri Ram</description>
      <pubDate>Thu, 17 Jun 2004 12:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308284#M185069</guid>
      <dc:creator>R. Sri Ram Kishore_1</dc:creator>
      <dc:date>2004-06-17T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: root privilege commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308285#M185070</link>
      <description>sudo will achieve your goal.&lt;BR /&gt;&lt;BR /&gt;I will say that its okay to allow other users to use shutdown under certain circumstances. its probably not a great idea to let a regular user run the init command.&lt;BR /&gt;&lt;BR /&gt;init changes the system run level and executes a bunch of start and stop scripts.&lt;BR /&gt;&lt;BR /&gt;If oracle starts at run level 4 and you let Joe Schmobagel bring the system to run level 3 that shuts downt he database.&lt;BR /&gt;&lt;BR /&gt;You have to be extremely careful how you strucuture your system.&lt;BR /&gt;&lt;BR /&gt;If you give a user init they can do an init 0 and shut the whole system down. How well are these people trained and if you are giving them this much power, why not the root password?&lt;BR /&gt;&lt;BR /&gt;We sysadmins exist for a reason. One of those reasons is because we know the impact of the commands we're talking about here.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 17 Jun 2004 12:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-privilege-commands/m-p/3308285#M185070</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-06-17T12:47:05Z</dc:date>
    </item>
  </channel>
</rss>

